@bemoje/arr-bubble-sort
Sort array by bubbling up bigger values to the right side. Runtime: O(n^2)
Sort array by bubbling up bigger values to the right side. Runtime: O(n^2)
Efficient in-place recursive sorting algorithm of numeric values. Avg. Runtime: O(n log n) | Worst: O(n^2)
Sorting by insertion - Look for bigger numbers on the left side. Runtime: O(n^2). It starts from the 2nd element, and it tries to find any element (to the left) that could be bigger than the current index. It will move all the elements that are bigger and