MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / main

Method main

Misc/Heap_Sort/solution.java:103–113  ·  view source on GitHub ↗
(String args[])

Source from the content-addressed store, hash-verified

101
102 // Driver program
103 public static void main(String args[])
104 {
105 int arr[] = {12, 11, 13, 5, 6, 7};
106 int n = arr.length;
107
108 HeapSort ob = new HeapSort();
109 ob.sort(arr);
110
111 System.out.println("Sorted array is");
112 printArray(arr);
113 }
114}

Callers

nothing calls this directly

Calls 2

sortMethod · 0.95
printArrayMethod · 0.95

Tested by

no test coverage detected