From 7203880bab66e9043fee9f60e103385f1a3d129c Mon Sep 17 00:00:00 2001 From: "codeflash-ai[bot]" <148906541+codeflash-ai[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 19:55:14 +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 + +