http://www.fullstackprep.dev/Articles/dsa/datastructure/applications-of-heaps