This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Calculate that a heap with n elements has height floor(log n), making operations logarithmic in complexity.
You've completed the free preview. Subscribe to unlock every lesson in every course.