diff --git a/codeflash/bubble_sort.py b/codeflash/bubble_sort.py new file mode 100644 index 000000000..48aae1a00 --- /dev/null +++ b/codeflash/bubble_sort.py @@ -0,0 +1,6 @@ +def sorter(arr): + print("codeflash stdout: Sorting list") + # Using Python's built-in sort for better performance (Timsort, O(n log n)) + arr.sort() + print(f"result: {arr}") + return arr