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

Median Maintenance with Two Heaps

Maintain running median of a stream using a max-heap for lower half and min-heap for upper half.

This lesson is for subscribers

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