http://www.fullstackprep.dev/articles/dsa/datastructure/minheap-maxheap