Skip to content

Commit e6fe0bc

Browse files
committed
revise: README.md
1 parent cfee2ae commit e6fe0bc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

QuickSort/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ int select_pivot(int arr[], int low) {
4747
void quick_sort(int arr[], int low, int high) {
4848
int i, j, pivot;
4949
if (low >= high) return;
50-
// pivot = select_pivot(arr, low);
51-
// pivot = select_pivot_random(arr, low, high);
52-
pivot = select_pivot_median_of_three(arr, low, high);
50+
pivot = select_pivot(arr, low);
5351
i = low;
5452
j = high;
5553
while (i != j) {

0 commit comments

Comments
 (0)