InterviewSolution
Saved Bookmarks
| 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)The query is from Ternary heap in portion Heap of Data Structures & Algorithms II got this question in final exam. |
|
Answer» The CORRECT answer is (a) O (log n/ log 3) |
|