Jamar8798 Jamar8798
  • 02-09-2019
  • Computers and Technology
contestada

The bubble sort algorithm sorts using what technique?

Respuesta :

ExieFansler ExieFansler
  • 06-09-2019

Explanation:

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.

Answer Link

Otras preguntas

what's the difference between artificial and natural radioisotopes?​
Whats the relationship between a and b
Sentences is correctly punctuated
I need help asa :)$:):)
Who was the first president in the USA Plz help
Florida Pill Mills First, write 5 main points from the video.
WILL MARK BRAINLIEST!How does an enzyme help a reaction to occur in the cell?It gives the reaction more energy.It increases the amount of energy needed.It takes
I need help asap :):):):)
A rectangle has a height of 4 and a width of 2x^2-x Express the area of the entire rectangle. Expression should be expanded.
Is this a run-on sentence? Because penguins are frightened by humans and difficult to approach, researchers from the University of Strasbourg used remote-contro