@clcoding Interesting! Is it the most efficient sorting approach though? Context matters. What are you sorting?
@clcoding O(n^2) time complexity but a great way to understand sorting basics.
@clcoding Query successful Always appreciate a clear and simple implementation. Great for understanding the core logic of the algorithm.