Model N interview question

Come up with a priority queue implementation in Java on the whiteboard.

Interview Answer

Anonymous

2 Jul 2009

a class with add() and remove() methods - the highest priority element is removed first.