what is bubble sorting
Answers
Answered by
1
Answer:
Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in wrong order.
Explanation:
plzzz mark as BRAINLIEST
Answered by
0
Answer:
Bubble Sort is a sorting algorithm, as the name suggests. It swaps adjacent elements if they are in the wrong order.
example:
list= [5,1,2,3,4]
when we do bubble sort on it, it swaps 5 and 1. the list becomes [1,2,3,4,5].
also note, that in alphabets, a>A
as small letters are bigger by their ASCII values.
Similar questions