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

How do you think the people conquered by the Romans felt about their new rulers
Cellular respiration involves a series of chemical reactions. Which of the following is a primary way that enzymes affect these reactions? A. They decrease the
what were the main ideas of the reformation?
what were the four main causes of the Cold War
What is 9-4(2p-1)=45?
I would like to know if 200 cm is greater or less than 3 m
rewrite the expression without using a negative exponent 6m^-2
If (x − 2)^2=49, then x could be ?
Which text exemplifies the anti-Victorianism prevalent in the early twentieth century? a) Eminent Victorians b) Jungle Books c) Philistine Victorians d) The
George has a small coin collection.  He has collected 16 gold coins, 28 silver coins, 32 copper coins, and4 bronze coins. At a flea market, George sells 15% of