Bubble sort
About the algorithm:
Adjacent elements are swapped until list is sorted
Categories:
Sort
Inefficient
Best case: Ω(n)
Worst case: O(n^2)
Try the algorithm:
Load csv file
Input your own array (syntax: comma sepparated values, e.g. 1, 2, 3, 4, 5)
Generate random array (syntax: start, end, number of entries, e.g. -5, 5, 7)
Submit