MCPcopy Create free account
hub / github.com/AdarshAddee/Hacktoberfest2022_for_Beginers / quickSort

Method quickSort

Java/QuickSort.java:29–35  ·  view source on GitHub ↗
(int[] arr, int si, int ei)

Source from the content-addressed store, hash-verified

27 }
28
29 public static void quickSort(int[] arr, int si, int ei) {
30 if (si < ei) {
31 int p = partition(arr, si, ei);
32 quickSort(arr, si, p - 1);
33 quickSort(arr, p + 1, ei);
34 }
35 }
36
37 public static void main(String[] args) {
38 Scanner sc = new Scanner(System.in).useDelimiter(",");

Callers 1

mainMethod · 0.95

Calls 1

partitionMethod · 0.95

Tested by

no test coverage detected