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

What were the long term causes of the french revolution?
Michael decided to give up his job teaching at a small community college in florida and become a monk. he moved to a nearby town with a monastery, took his vows
a restaurant waiter earns a weekly base pay of $100, and an average tip of $5 for each table served. In a five-day work week, how many tables must be served on
How did Judaism influence Ethiopia’s The Christian majority in Ethiopia were not tolerant of Judaism. Jewish traders spread their language throughout the kingd
convert 0.85 to its equivalent percentage
what is the pH of a 0.40 M solution of C6H5COOH?
Imagine you’re walking along the road where is your syncline. What can you conclude about the formation of the fold?
The era between reconstruction and the progressive period represents the
What was parliament's specific purpose in passing the stamp act?
The two giants of the non-alcoholic beverage industry are