From 0585f20970570b1cdb3a7ba95934b5e3b53dc313 Mon Sep 17 00:00:00 2001 From: timi <63904151+Boy-timi@users.noreply.github.com> Date: Sat, 26 Nov 2022 01:02:08 +0800 Subject: [PATCH] Update quick_sort.py --- codes/python/chapter_sorting/quick_sort.py | 1 + 1 file changed, 1 insertion(+) diff --git a/codes/python/chapter_sorting/quick_sort.py b/codes/python/chapter_sorting/quick_sort.py index ae932b6..8f764c7 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] 作为基准数