Intuit interview question

design a system with priority queue.