Skip to main content

One doc tagged with "bubble-sort"

View all tags

Bubble Sort

Bubble Sort is one of the simplest sorting algorithms in computer science. It repeatedly steps through the list to be sorted, compares adjacent elements, and swaps them if they are in the wrong order. This process continues until the list is sorted.