InterviewSolution
Saved Bookmarks
| 1. |
What is the time complexity for decreasing priority of key in a maximum ternary heap of n elements?(a) O (log n/ log 3)(b) O (3log n/ log 3)(c) O (n)(d) O (1)This key question is from Ternary heap in section Heap of Data Structures & Algorithms IThis question was posed to me in examination. |
|
Answer» Correct choice is (B) O (3log n/ log 3) |
|