You are viewing a single comment's thread. Return to all comments →
Still, findInHeap takes O(n) time in worth case (where the tree is complete and element to be found is in right most leaf).
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 →
Still, findInHeap takes O(n) time in worth case (where the tree is complete and element to be found is in right most leaf).