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

determine whether the events are independent or dependent: rolling a number cube and tossing a coin
For impeachment proceedings to begin, a president has to do be accused of?
your attuide can be describe as
how did the neolithic revolution change human history?
The quotient of a number and 5, less 10, is 3
A formula is expressed as D = a(2 + kt). Express k in terms of D, a and t.
during what part of the water cycle does a liquid turn into a gas
Cuando alguien tiene un problema serio generalmente to llevan a ____. A. La medicina B. La radiografía C. La receta D. La sala de emergencia
A scale model of a rectangular building lot measures 7 feet by 5 feet. If the actual house will be built using a scale factor of 12, what is the area of the act
What is 6,060 divided by 45?