Isn't it quite misleading that it reads that "top: access the top element" vs "pop: remove first element", but first and top coincide here? 22.214.171.124 07:39, 2 February 2014 (PST)
- Thanks for noticing, I've fixed this issue. --P12 13:04, 2 February 2014 (PST)
The comparer is confusing, maybe there should be clarification how it should look when you want the queue to minimize vs maximize. Also a usage example would help a lot.