Heap / Priority Queue
The largest or smallest item is always at the top, and it is removed in logarithmic time.
The largest or smallest item is always at the top, and it is removed in logarithmic time.
Last updated on
Was this page helpful?
Thanks for your feedback!