Categories
Computer Science Data Structures

Heaps and Heap Sort

Imagine a queue that doesn’t operate based on who got there first. It rather operates based on the importance of a person in the queue.  For instance, think of a hypothetical passport control. A government official would take the highest priority, followed by a citizen, and then finally a foreigner. In essence, this isn’t a […]