https://en.wikipedia.org/wiki/Min-max_heap Can also be constructed from any two heaps. Methods: min, max, bounds => [min, max], ...