DoorDash Interview Question

There were 2 coding questions on priority queues and dequeues