Amazon Robotics interview question

implement a priority queue