what is bubble sorting in java?
Answers
Answer:
Here is ur answer
Bubble sort is the simplest sorting algorithm, it compares the first two elements, if the first is greater than the second, swaps them, continues doing (compares and swaps) for the next pair of adjacent elements. It then starts again with the first two elements, compares, swaps until no more swaps are required.
Thank u
hope you like this answer
Answer:
Bubble sort is the simplest sorting algorithm, it compares the first two elements, if the first is greater than the second, swaps them, continues doing (compares and swaps) for the next pair of adjacent elements. It then starts again with the first two elements, compares, swaps until no more swaps are required.
HOPE IT HELPS ✌️
PLZ FOLLOW ME AND MARK IT A BRAINLIEST ANSWER ✌️