diff --git a/codes/python/chapter_sorting/quick_sort.py b/codes/python/chapter_sorting/quick_sort.py index ae932b604..8f764c7a2 100644 --- a/codes/python/chapter_sorting/quick_sort.py +++ b/codes/python/chapter_sorting/quick_sort.py @@ -85,6 +85,7 @@ class QuickSortMedian(): """ 快速排序类(尾递归优化) """ class QuickSortTailCall(): + """ 哨兵划分 """ def partition(self, nums, left, right): # 以 nums[left] 作为基准数