Introduction
- In many computer science applications, we only need to access the largest
or smallest element in the dataset
- How do we efficiently access the largest or smallest element in the current dataset? The answer would be Heap
- Python provides
heaq
built-in package for creating min-heap
Contents
Definition and Classification of Heap
Common applications of Heap