Amazon interview question

DSA based question utilizing Priority Queues