Priority queue (binary heap) — Backend Interview Challenge | Mentoxis