Showing posts with label BubbleSort. Show all posts
Showing posts with label BubbleSort. Show all posts

May 22, 2015

Bubble Sort

Bubble Sort is the simplest sorting algorithm. It works by iterating the input from the first to last.Comparing each pair and swapping them if needed. Bubble sort continues until no swapping needed.it got its name  from the way smaller elements "bubble"  to the top of the list.