</>

Heap / Priority Queue

Keep the min/max accessible in O(log n) for top-k and scheduling problems.

8 problems 2 Easy 5 Medium 1 Hard

Problems