Bloomberg interview question

Priority Queue using Linked List