Skip to content

Commit aed62d9

Browse files
Merge pull request #336 from cclauss/patch-1
Undefined name: import random for line 25 of quicksort_twoway.py
2 parents 2df4b07 + 5a618c1 commit aed62d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

python/12_sorts/quicksort_twoway.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import random
2+
3+
14
def QuickSort(arr):
25
# 双向排序: 提高非随机输入的性能
36
# 不需要额外的空间,在待排序数组本身内部进行排序

0 commit comments

Comments
 (0)