From d16d7aba1fbd6742bfe9af3966845e34eb6ea107 Mon Sep 17 00:00:00 2001 From: "codeflash-ai[bot]" <148906541+codeflash-ai[bot]@users.noreply.github.com> Date: Thu, 1 Feb 2024 23:24:33 +0000 Subject: [PATCH] =?UTF-8?q?=E2=9A=A1=EF=B8=8F=20Speed=20up=20sorter=20by?= =?UTF-8?q?=204211531.56=20in=20PR=20#1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code_to_optimize/bubble_sort.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 code_to_optimize/bubble_sort.py diff --git a/code_to_optimize/bubble_sort.py b/code_to_optimize/bubble_sort.py new file mode 100644 index 0000000..3a904b0 --- /dev/null +++ b/code_to_optimize/bubble_sort.py @@ -0,0 +1,5 @@ +def sorter(arr): + arr.sort() + return arr + +