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 odpowiedzi
+ 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!!!