https://stackoverflow.com/questions/15319561/how-to-implement-a-median-heap
https://en.wikipedia.org/wiki/Amortized_analysis https://en.wikipedia.org/wiki/Fibonacci_heap
https://en.wikipedia.org/wiki/Breadth-first_search https://en.wikipedia.org/wiki/Depth-first_search