We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9db18e3 commit b4eefeaCopy full SHA for b4eefea
bradfield/quicksort.py
@@ -36,7 +36,7 @@ def lomuto_partition(arr, low, high):
36
37
def quicksort(arr, partition_fn, shuffle=False):
38
if shuffle:
39
- # do shuffling here
+ # Skiena voice: "Hokay, so - what happens if we shuffle first?"
40
random.shuffle(arr)
41
42
def sort(arr, low, high):
0 commit comments