Removes and returns the smallest item from the PriorityQueue. This operation takes O(log n) time.
PriorityQueue
public T Dequeue()
The smallest item in the PriorityQueue.