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

How does paragraph 4 serve as an effective ending to Lincoln's speech? A. It calls upon listeners to support the war whatever the consequences may be. B. It sum
what are the career pathways for civil engineering?
What was the Gothic Line?​
16. Solve the equation. ( point) R/4 -1=4 O 1.3 O 0.8 O 12 O 20
what is the value of x/y when x = -15 and y = -3 A 5 B -5 C 12 D -12
Kelly’s scores for the last seven quizzes are 92,77,83,80,97,88, and 78 what is her mean quiz score
Which statement summarizes the law of superposition? A. The oldest rock is found in the bottom layer of a rock formation. B. The rarest elements are found in th
When should an essay writer provide a source
Conduction, convection and radiation can occur in variety of ways. Give another example, like the campfire picture above, where you have seen all three methods
please help me ill give brainlest