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

80 kg decreased by 63%
how many 0.2 liter glasses of water are contained in a 3.6 liter pitcher
Please ANSWER How does oil make Iran different from Turkey and Cyprus?
In which area does clean drinking water present the biggest problem? cities in LDCs polar regions tropical regions urban areas in MDCs
How many moles are in 564 grams of Copper
A puddle of water is found on the sidewalk after an afternoon rainstorm. Trace a drop of water from this puddle through the entire water cycle.
What is half of 98? (ingnore this)
8 times 2/5 = ??? I'm very confused and I do not know how to simplify. I also need this in simplest form.
Carlie spent $42 at the salon. Her mother loaned her the money. Carlie will pay her mother 15% of $42 each week until the loan is repaid. About how much will
Simplify. (–8x) ÷ (–4)