1.

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

A. O (log n/ log 3)
B. O (n!)
C. O (n)
D. O (1)
Answer» B. O (n!)


Discussion

No Comment Found