Heaps and Priority Queues: The Array Layout, Heapify in O(n), and Top-k Patterns | Codevizag Academy