Data Structures and Algorithms

Lab 08 - Heap (cont.)

Exercise 1. Implement a vector-based heap.

Exercise 2. Write a program that reads a list of integers from standard input, sorts the list using heap-sort, then write output to the screen.