0
Bubble Sort!!!
Please help me with bubble sort algorithm and how it works!!! input/output operations, sequence of the operations, and control-flow of the operations.
3 Answers
+ 3
Have you checked this?
https://www.sololearn.com/learn/649/?ref=app
0
Thank you!!!
0
âIn the worst scenario, where all elements need to be swapped, it will require (n-1)+(n-2)+(n-3)+...+3+2+1 = n(n-1)/2 swaps (n is the number of elements)â ,,,,,, i didnât get this one. please help!!!