Logs
Bubble Sort repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order. After each pass, the largest element among the unsorted elements bubbles up i.e. it is placed at the end of the list. The pass through the list is repeated until the list is sorted.
Logs