diff --git a/codeflash/bubble_sort.py b/codeflash/bubble_sort.py new file mode 100644 index 000000000..c69de7e2c --- /dev/null +++ b/codeflash/bubble_sort.py @@ -0,0 +1,7 @@ +def mysorter(arr): + arr.sort() # Use Python's highly optimized Timsort + print(f"codeflash stdout: Sorting list\nresult: {arr}") + return arr + + +mysorter([5, 4, 3, 2, 1])