Computer Science, asked by dishadometi, 1 month ago

How many steps are required to arrange 10 numbers in ascending order by using Bubble sort?

Answers

Answered by Pramilarashmi77
0

Answer:

Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order.

Answered by priyaboypai783
0

Answer:

If the given array has to be sorted in ascending order, then bubble sort will start by comparing the first element of the array with the second element, if the first element is greater than the second element, it will swap both the elements, and then move on to compare the second and the third element, and so on.

Similar questions