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

Name the THREE procesess responsible for the loss of Sun heat in atmosphere​
I need help figuring this out
Whoever answers first will get marked Best!A cheetah runs 177 miles in 3 hours,at this rate how many hours will it take to travel 531 miles?
Brian is mowing his lawn. He and his family have 7.84 acres. Brian mows 1.29 1 acres on Monday, 0.85 acres on Tuesday, and 3.63 acres on Thursday. How many acre
amoeba sisters video recap genetic drift
Help a.66 b.124 c.114 d.132
tomorrow school is celebrating teachers day you have been selected for presenting a speech before teachers express your feelings and emotion in the form of diar
Need the answer thank you
Find the median of the given set of numbers. 3, 3, 8, 6, 7,3 A.8 B.7 C.5 D.4.5
All of these are MOST associated with wich era of U.S. History