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

Dividin a number by 10 exponent, how is the decimal point moved
The units of molar mass are?
a company's database is an example of a(n) (1 point) A: Activity B: Facility C: Information silo D: Resource
After serving as the commander of us forces in europe, dwight d. eisenhower a became the supreme commander of the allied expeditionary force. b served in the p
What group of tissue has two types, soft and hard, and holds body parts together?
What waste product of photosynthesis is released to the environment?
mrs.rosso has to travel 390 miles on a highway. she drives 130 miles in 2 hours
Explain the importance of managing a career?
What is the answers....................../.../........
Suppose you live 6.2 miles from a hill. From your home you see a plane directly above the hill. Your angle of elevation to the plane is 23°. What is the plane’s