Module pywander.algorithm.sort.bubble_sort

Functions

def bubble_sort(lst)

bubble sort

>>> lst = [5, 4, 55, 6, 9, 1]
>>> bubble_sort(lst)
[1, 4, 5, 6, 9, 55]