C
C#5w ago
Lukas

✅ Bubbel sorting

I need to do a bubble sort after given instructions, i understand nothing. Could someone help me where i can find good informative information on bubble sort, the book i have dosent really go over bubble sort that well.
7 Replies
DeliBey
DeliBey5w ago
What have you done so far?
Pobiega
Pobiega5w ago
I personally really like the wikpedia algo pages. Look at https://en.wikipedia.org/wiki/Bubble_sort
Miroslav
Miroslav5w ago
https://visualgo.net/en/sorting if you are visual learner
Sorting (Bubble, Selection, Insertion, Merge, Quick, Counting, Radi...
Sorting is a very classic problem of reordering items (that can be compared, e.g., integers, floating-point numbers, strings, etc) of an array (or a list) in a certain order (increasing, non-decreasing (increasing or flat), decreasing, non-increasing (decreasing or flat), lexicographical, etc).There are many different sorting algorithms, each ha...
Anton
Anton5w ago
after each iteration, the largest element will be propagated through the whole array and end up last. then you kind of ignore the last position since it already has the largest element. repeat again, until there's nothing left to sort.
Lukas
LukasOP5w ago
I’ve managed to pull it off 😎 Thanks a lot , it definitely helped Thanks a lot, I’ve managed to do it. I will definitely use this site in the future:) Yes, I had some struggles with writing the code, but I’ve managed to do it somehow 😎
canton7
canton75w ago
$close
MODiX
MODiX5w ago
If you have no further questions, please use /close to mark the forum thread as answered

Did you find this page helpful?