Author: yifei /
Created: June 22, 2018, 5:01 p.m. /
Modified: June 22, 2018, 5:03 p.m. /
there is no data structure called heap in python, rather, python stores some functions in the heapq lib
heap is just an array that can be treated as a tree.