From 1ac9dbd6d523bda458c8a638f89d35dd16d7d0b5 Mon Sep 17 00:00:00 2001 From: marina <138340846+bt3gl-cryptographer@users.noreply.github.com> Date: Mon, 7 Aug 2023 20:38:09 -0700 Subject: [PATCH] Update quick_sort.py --- sorting/quick_sort.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sorting/quick_sort.py b/sorting/quick_sort.py index c3377f5..144cbd9 100644 --- a/sorting/quick_sort.py +++ b/sorting/quick_sort.py @@ -19,5 +19,6 @@ def quick_sort_divided(array): return array lower, pivot, higher = quick_sort_partition(array) + return quick_sort_divided(lower) + [pivot] + quick_sort_divided(higher)