There was an error while loading. Please reload this page.
1 parent bb97a1e commit d29ac91Copy full SHA for d29ac91
6.quickSort.md
@@ -71,7 +71,6 @@ function swap(arr, i, j) {
71
def quickSort(arr, left=None, right=None):
72
left = 0 if not isinstance(left,(int, float)) else left
73
right = len(arr)-1 if not isinstance(right,(int, float)) else right
74
- print(left,right)
75
if left < right:
76
partitionIndex = partition(arr, left, right)
77
quickSort(arr, left, partitionIndex-1)
0 commit comments