From cc680c18077edcca2b71a8f8820cae574c0810a6 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Mon, 8 Jan 2024 15:46:21 +0000 Subject: [PATCH] cleanup quicksort --- chapter4/quicksort.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/chapter4/quicksort.py b/chapter4/quicksort.py index 6461ef0..6c019b6 100644 --- a/chapter4/quicksort.py +++ b/chapter4/quicksort.py @@ -1,8 +1,3 @@ -def quicksort(arr): - if len(arr) < 2: - return arr - - import logging import random