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

Lee la frase en inglés y después escoge la opción que expresa la misma acción que el sujeto va a hacer en el futuro cercano. Read the sentence in English and ch
48 divided by 6 equals 16 -n
you can make a brainly account without a real email
What recipes are common to Australia
When can a story be considered a satire?
(x)=(x−3)(2x−8) Find the zeros of the function. Write the smaller solution first, and the larger solution second.
A region with a 5 mile radius had a population density of about 3100 people per square mile. Find the number of people who live in the region to the nearest ten
What is the definition of prime
Find the area of the regular polygon
What is the distance between -4 and 6? 10 9 11