Ask Question

The bubble sort algorithm sorts using what technique?

+3
Answers (1)
  1. 15 November, 21:24
    0
    Bubble sort is one of the simplest sorting techniques present.

    In bubble sort in every iteration we compare the each element with the next element if it is out of order then we swap the elements if not we do nothing and move to next iteration. This is done n-1 times where n is the number of elements in the array.

    It this algorithms the element with highest value is bubbled out in each iteration hence it is called bubble sort.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “The bubble sort algorithm sorts using what technique? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers