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 is two added to double a number in algebraic expression
During what period did Egypt reach the height of its power
The greatest common factor of 24,40 and 56
How are the reasons for moving similar to or different from people in ancient history?
Elements that can be described by the hardness shininess and ductility
Alina is able to swim at a rate of about 2.5 miles per hour. Talia is able to swim at a rate of 1.8 meters per second. Which statement comparing the two swimmer
what times what equals 117
What year came after 184 B.C?
Write 6.7 in two other forms
How did the growth of the rail networks affect the meatpacking industry? (a)The meatpacking industry shrank because the demand for other natural resources incre