Skip to content

Commit b4eefea

Browse files
author
Joshua Goller
committed
update quicksort comment
1 parent 9db18e3 commit b4eefea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bradfield/quicksort.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def lomuto_partition(arr, low, high):
3636

3737
def quicksort(arr, partition_fn, shuffle=False):
3838
if shuffle:
39-
# do shuffling here
39+
# Skiena voice: "Hokay, so - what happens if we shuffle first?"
4040
random.shuffle(arr)
4141

4242
def sort(arr, low, high):

0 commit comments

Comments
 (0)