Skip to content

Commit 36c7d29

Browse files
authored
Update Exercise_2.java
1 parent 2be2944 commit 36c7d29

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Exercise_2.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@ class QuickSort
66
smaller (smaller than pivot) to left of
77
pivot and all greater elements to right
88
of pivot */
9+
void swap(int arr[],int i,int j){
10+
//Your code here
11+
}
12+
913
int partition(int arr[], int low, int high)
1014
{
1115
//Write code here for Partition and Swap
1216
}
13-
14-
1517
/* The main function that implements QuickSort()
1618
arr[] --> Array to be sorted,
1719
low --> Starting index,

0 commit comments

Comments
 (0)