MCPcopy
hub / github.com/kunal-kushwaha/DSA-Bootcamp-Java / main

Method main

lectures/24-heaps/code/heaps-1/Main.java:4–16  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

2
3class Main {
4 public static void main(String[] args) throws Exception{
5 Heap<Integer> heap = new Heap<>();
6
7 heap.insert(34);
8 heap.insert(45);
9 heap.insert(22);
10 heap.insert(89);
11 heap.insert(76);
12
13 ArrayList list = heap.heapSort();
14 System.out.println(list);
15
16 }
17}

Callers

nothing calls this directly

Calls 2

insertMethod · 0.95
heapSortMethod · 0.95

Tested by

no test coverage detected