public T Pop() { PriorityNode popped = pq.Pop(); return(popped.GetItem()); }
public T Peek() { PriorityNode peeked = pq.Peek(); return(peeked.GetItem()); }
public T Pop() { PriorityNode popped = pq.Pop(); return(popped.GetItem()); }
public T Peek() { PriorityNode peeked = pq.Peek(); return(peeked.GetItem()); }