Accenture interview question

explain priority queue