MCPcopy Create free account
hub / github.com/subbarayudu-j/TheAlgorithms-Python / main

Function main

data_structures/heap/heap.py:81–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79 print(self.h)
80
81def main():
82 l = list(map(int, raw_input().split()))
83 h = Heap()
84 h.buildHeap(l)
85 h.heapSort()
86 h.display()
87
88if __name__=='__main__':
89 main()

Callers 1

heap.pyFile · 0.70

Calls 5

buildHeapMethod · 0.95
heapSortMethod · 0.95
displayMethod · 0.95
HeapClass · 0.85
splitMethod · 0.80

Tested by

no test coverage detected