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

Height of a Binary Heap

Calculate that a heap with n elements has height floor(log n), making operations logarithmic in complexity.

This lesson is for subscribers

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