Quick pygame visualisation of heapmax features including: build_heap_max insert_maxheap heapify heap_extract_max heapsort increase_key increase_maxhep From the CLRS book The code is dirty and not documented, but the result looks good..