diff --git a/examples/quick_sort/quick_sort.py b/examples/quick_sort/quick_sort.py index e2763da..0089206 100644 --- a/examples/quick_sort/quick_sort.py +++ b/examples/quick_sort/quick_sort.py @@ -1,5 +1,8 @@ def qsort(lst): - if len(lst) < 2: + """ + sorting algo, with a bug + """ + if len(lst) < 3: return lst first_item = lst[0]