Bubble Sort

Bubble Sort is a simple sorting algorithm that repeatedly steps through a list, comparing adjacent elements and swapping them if they are in the wrong order. This causes larger values to "bubble" to the end with each pass. While intuitive, it is generally inefficient for large datasets compared to faster algorithms.

See also

Linked from: Quick Sort
0
10 views
1 week ago