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

There are 21 students  in Mr.Tentlers  class The students divided themselves evenly  into 3 groups.how many  students  are in each  groups?
value mart is having a back to school sale on pencils a pack of 30 sells for 7.97 whereas a 12 pack brand cost for 4.77 which is better to buy and please explai
Round 681,542 to the nearest hundred thousand
70,000 ones equal how many ten thousands
How do you solve 12,324,904 in word form
What is the value of the digit 2 in the number 9,642
negative acceleration & positive acceleration, what are they?
Express 8.15 as a mixed number.
What factors shaped American imperialism?
A pitcher on a baseball team has pitched 98 2/3 innings. What is the number of innings written as a decimal?