diff --git a/codes/python/chapter_sorting/quick_sort.py b/codes/python/chapter_sorting/quick_sort.py index dec5726bc..ae932b604 100644 --- a/codes/python/chapter_sorting/quick_sort.py +++ b/codes/python/chapter_sorting/quick_sort.py @@ -12,6 +12,7 @@ sys.path.append(osp.dirname(osp.dirname(osp.abspath(__file__)))) """ 快速排序类 """ class QuickSort(object): + """ 哨兵划分 """ def partition(self, nums, left, right): # 以 nums[left] 作为基准数