LESSON 09 / 15

Heap

A min-heap is a tree stored in a list where every parent is smaller than its children. The smallest item is always at the front, and adding or removing takes only O(log n).

๐ŸŽ“Expertlevel
โฑ๏ธ17 minto finish
โœ๏ธ2activities

๐Ÿ“‚ Data Structures๐Ÿท๏ธ Data structures

๐Ÿ”’

Youโ€™ve finished your free lessons! ๐ŸŽ‰

Create a free account to unlock every lesson, save your progress, keep your streak and get personal review suggestions. It takes 20 seconds.