You are viewing a single comment's thread. Return to all comments →
By the way. isn't Binary Search Tree a better solution for this?
Removing item from heap might take O(n) without optimization.
Seems like cookies are disabled on this browser, please enable them to open this website
QHEAP1
You are viewing a single comment's thread. Return to all comments →
By the way. isn't Binary Search Tree a better solution for this?
Removing item from heap might take O(n) without optimization.