Binary min-heap keyed by numeric priority. Duplicate items are allowed (lazy deletion).
Removes and returns the entry with the lowest priority, $O(\log n)$.
$O(\log n)$.
Binary min-heap keyed by numeric priority. Duplicate items are allowed (lazy deletion).