diff --git a/4 Other Problems/QuickSort.java b/4 Other Problems/QuickSort.java index d68902d..45c4b46 100644 --- a/4 Other Problems/QuickSort.java +++ b/4 Other Problems/QuickSort.java @@ -26,7 +26,7 @@ private void quickSort(int[] nums, int low, if (low < high) { int partitionIndex = partition(nums, low, high); - quickSort(nums, 0, partitionIndex - 1); + quickSort(nums, low, partitionIndex - 1); quickSort(nums, partitionIndex + 1, high); } }