Page 1 of 1

What is the time complexity for inserting a new item in a ternary heap of n elements?

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)