The codingEdge
Aditya Vijayvergia's Blog
Search This Blog
Friday, 13 January 2017
Priority queue using heap
The code uses a max heap to remove the maximum element present in the data. Heap is used as it helps to perform the above operation in O(log n) time.
Link to
code
.
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)