Basics of Heaps
Apr 14, 2021 · 2 min read · Before getting into what is a heap, you gotta know where Heap is used. Heaps are used for Heap sort, sorting a list of numbers in O(n.logn). Interestingly Heaps are more frequent in implementing a Priority Queue rather than using for heap sort. What ...
Join discussion