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

Find c. Round to the nearest tenth: 2 cm с 150 1050 a c = [? ]cm Law of Sines: sin A sin B b sin C С a Enter
PLEASE HELP!!! Simplify: 1) -sqrt(-9y^2) if y < 0 2) 3sqrt(c^2) if c is greater then or equal to 0 3) -5sqrt(4x^2) if x is greater than or equal to 0 4) -5sq
The pyramid has a square base with side length 2 cm and height 3 cm. What is the volume of the chocolate to the nearest tenth? A 12 cm B 6 cm3 C 4 cm D 2 cm E 1
In this triangle cosA/CosB= ?
During the Ming Dynasty China's economy was. primarily based on trade :funded by the monarchy almost totally dependent on agriculture wary of shipping​
what is a jump start that can speed up the decomposition reaction in soda
Which electromagnet will produce the strongest magnetic force? (1 point)
Please I really need help!
Find the area of the figure.
A meal has 756 calories in 6 servings. Find the unit rate.