Yuval Adam Yuval Adam - 9 months ago 54
Java Question

Java implementation for Min-Max Heap?

Do you know of a popular library (apache collections, google collections, etc...) which has a reliable Java implementation for a Min-Max heap?

I.e. a heap which allows to peek at its minimum and maximum value in

and to remove at

I did a quick search and couldn't find one. Anyone know better?


From Guava: MinMaxPriorityQueue.