Introduction
Imagine you have a list of tasks, but some tasks are more urgent than others. You want a way to always pick the most urgent task quickly without sorting the entire list every time. This is the problem that priority queues solve, and heaps are a smart way to organize them.