input a list of elements sort in ascending order using bubble sort
Answers
Answered by
0
Answer:
The steps of performing a bubble sort are:
Compare the first and the second element of the list and swap them if they are in wrong order.
Compare the second and the third element of the list and swap them if they are in wrong order.
Proceed till the last element of the list in a similar fashion.
Explanation:
please mark me brainiest
Answered by
0
Answer: The steps of performing a bubble sort are:
1 Compare the first and the second element of the list and swap them if they are in wrong order.
2 Compare the second and the third element of the list and swap them if they are in wrong order.
3 Proceed till the last element of the list in a similar fashion
Explanation: please mark me as brilliant
Similar questions