---
comments: true
icon: material/family-tree
---

# Chapter 8. &nbsp; Heap

![Heap](../assets/covers/chapter_heap.jpg){ class="cover-image" }

!!! abstract

    The heap is like mountain peaks, stacked and undulating, each with its unique shape.

    Among these peaks, the highest one always catches the eye first.

## Chapter contents

- [8.1 &nbsp; Heap](heap.md)
- [8.2 &nbsp; Building a heap](build_heap.md)
- [8.3 &nbsp; Top-k problem](top_k.md)
- [8.4 &nbsp; Summary](summary.md)
