Page 1 of 1

What is the time complexity for creating a ternary heap using swapping?

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) O (log n/ log 3)
b) O (n!)
c) O (n)
d) O (1)