Course contentsShow
Computer Science
Lesson 602 of 2,87214. Heaps and Priority QueuesPro lesson

Building a Max Heap for Sorting

Converting an unsorted array into a max heap in O(n) time as the first phase of heapsort.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.