Chapter 8. Heaps¶ Abstract Heaps resemble mountain ranges, rising in layers of varied shapes. The peaks stand at different heights, yet the highest always catches the eye first. Chapter contents¶ 8.1 Heaps 8.2 Building a heap 8.3 The top-k problem 8.4 Summary 8.5 Exercises Share your insights, questions, or suggestions in the comments