Bubble sort

A form of sorting by exchanging that simply interchanges pairs of elements that are out of order in a sequence of passes through the file, until no such pairs exist. The method is not competitive with straight insertion.

Clicking on this step you can see the Video learningstep of the algorithm.

Video

As a first step you will be able to watch the video representation of the Bubble sort algorithm. This will be presented by hungarian folk dance.


Pay attention and try to understand the main movements of the sorting algorithm, namely the comparison, selection and swap.


This technique involves human movement effect in order to visualize the algorithm in a dinamic way. Enjoy it! :)