CSc 7003, Programming for Data Science (Summer 2019)

Program 10 - Priority Queue

Array/List Implementation

Complete the methods in the following files:

A sample run of the HeapSort program is given below:
macbook-pro:LL raj$ python3 HeapSort.py 
5 10 16 17 14
printing sorted list
5
10
14
16
17

Binary Tree Implementation

Complete the methods in the following files: