Glossary: Coding Interviews in Rust
BinaryHeap
Also written: heap, max-heap, min-heap
A Rust collection that always gives you its largest item first (a max-heap). Wrapping items in `Reverse` turns it into a min-heap, which is how you keep only the top k items.