diff --git a/codeflash/bubble_sort.py b/codeflash/bubble_sort.py new file mode 100644 index 000000000..c07a7eb38 --- /dev/null +++ b/codeflash/bubble_sort.py @@ -0,0 +1,8 @@ +def mysorter(arr): + print("codeflash stdout: Sorting list") + arr.sort() # built-in Timsort, much faster than bubble sort + print(f"result: {arr}") + return arr + + +mysorter([5, 4, 3, 2, 1])