Java/Section10-Heaps/Heaps-Heaps-(Delete)-Source-code/src/academy/learnprogramming/maxheaps/Main.java
package academy.learnprogramming.maxheaps;

public class Main {

    public static void main(String[] args) {
        Heap heap = new Heap(10);

        heap.insert(80);
        heap.insert(75);
        heap.insert(60);
        heap.insert(68);
        heap.insert(55);
        heap.insert(40);
        heap.insert(52);
        heap.insert(67);

        heap.printHeap();

        heap.delete(0);
        heap.printHeap();
    }
}
