Bubble sort is also known as sinking sort.
Bubble sort got its name because if you could watch the way your data was changing, on each iteration you would see the greatest number "bubble" to the top.Similarly, you could said that you would see the lowest number "sink" to the bottom.
ramesh
no
You would sort the given elements of an array by a bubble sort or heap sort code!!
The bubble sort algorithm can be applied to an array of characters. Every character can be translated to an integer equivalent via the ascii table
bubble spirit der
uuyktloiotuooio
A persons bubble
Bubble sort got its name because if you could watch the way your data was changing, on each iteration you would see the greatest number "bubble" to the top.Similarly, you could said that you would see the lowest number "sink" to the bottom.
Yes, bubble sort is a stable sorting algorithm.
Selection sort is more efficient for small datasets compared to bubble sort.
ramesh
Bubble sort is an "in place" algorithm. Other than a temporary "switch" variable, no extra space is required.
no
bubbles
Binary sort and bubble sort are two.
You would sort the given elements of an array by a bubble sort or heap sort code!!