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 are the requirements for combustion of a candle?
By the age of ____ years, most children have learned the addition tables so well that the sums of single digit numbers can be retrieved from memory rather than
two numbers which differ by 46
What factors may influence why some healthcare systems (particularly source systems that feed data to an ehr or other repository) are still dos based today?
What would most likely cause the future acceleration of the expansion of the universe
Convert 10 qt/min to gallons per hour. 15 gal/h 150 gal/h 40 gal/h 600 gal/h
Help anyone please thanks
In _____, the old technology and several different new technologies fight to establish a new technological standard or dominant design. a. design substitution b
Epic machinery only appears to epics from Western traditions that consciously imitate Homer. True or False?
What is the purpose of letter spacing and word spacing?