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

factor using ac-method and factor completely, 25x²-30x--40  (help)
express 4 less than one-thirteenth of some number,w can be expressed algebraically as?
factor using ac-method and factor completely, 25x²-30x--40  (help)
factor the trinomial or state that it is prime 4y²+54y-90
There are 156, 208 and 260 students in Groups A, B, C respectively. Buses are to be hired to take them for a field trip. Find the minimum number of buses to be
How to work out:5x+1=2x-8
Select the approximate values of x that are solutions to f(x) = 0, where f(x) = -8x^2 + 8x + 5.
Which number is the largest?A) 1.81B) 1.08C) 1.801
How were people punished if they were drunk in the middle ages
factor using ac-method and factor completely, 25x²-95x-20= ______ thanx for the help.