InterviewSolution
Saved Bookmarks
| 1. |
What is the time complexity for increasing priority of key in a maximum ternary heap of n elements?(a) O (log n/ log 3)(b) O (n!)(c) O (n)(d) O (1)This key question is from Ternary heap topic in chapter Heap of Data Structures & Algorithms II got this question during an interview. |
|
Answer» The correct choice is (a) O (log N/ log 3) |
|