Great start guys
-
- The following string array is not being sorted though.
arr = ["hi", "Cookiemonstersissue", "quickbrownfox"]
def bubble_sort_by(arr)
The above method is not sorting the string array.
-
- When the array is already sorted, there is no need to go through the elements and the method should break out if everything is sorted.
Great start guys
The above method is not sorting the string array.