GlossaryHeaps and Priority QueuesTree-based data structures that efficiently support finding and extracting the minimum or maximum element.