Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

7. Binary Search Trees and Priority Queues

Binary search trees (search, insertion, deletion, cost), priority queues and binary heaps (percolate up and down, heapify, heap sort). Problem solving: checking a heap, top-k elements, merging k sorted lists, range queries, validating a BST.

Slides

Present full screen Download the PDF

Click or tap the slide to move forward, its left edge to go back; the arrow keys work too.