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

Enter numbers into the boxes to yield a system of equations that has infinitely many solutions. 2x + 5y = −7 BOX x − 15y = BOX
How to price that line segment CD bisects line segment AB.
Q. The Paleolithic Era is characterized by A. mass migration from North America to Africa. B. development of clans and tribes. C. the earliest use of stone too
Taxes on import goods
Explain what it means for the Supreme Court to have original and exclusive jurisdiction over certain cases.
PLEASE HELP WILL GIVE BRAINLIEST
what is the answer to these questions
What is the function?Can you include a step by step explanation?
Use compatible numbers to find two estimates that the quotient is in between 1,189 divided by 4
the chart shows the marginal cost of producing apple pies. According to the chart , the marginal cost of producing the second pie is:- 1.00- 0.50- .25- 1.25(e20