+ 2
What is "bubble-sort" and what is the program of it in python?
I've read the description in the internet but I can't still figure it out... Please help.
3 odpowiedzi
+ 3
Bubble sort is a sorting algorithm, where a list is sorted by swaping adjecent elements of that list if first is larger that second. This puts largest element on the last and eventually it sorts the list
+ 3
+ 1
Thank you for your reply. Can you show me the code in python?