Bloomberg Interview Question

A leet code problem involving a priority queue