Eric Rowe
Starting with an empty minheap, draw the heap after each the completion of the following operations, and repeat for a maxheap (replace removeMin() with removeMax()). Upload your drawings here. Hand drawn is fine:
addElement(40);
addElement(25);
removeMin();
addElement(10);
removeMin();
addElement(5);
addElement(1);
removeMin();
addElement(45);
addElement(50);