+ 2
Can anyone explain me bubblesorting ? Anyone please?
13 odpowiedzi
+ 7
this video will etch it to your mind ^__^
https://youtu.be/lyZQPjUT5B4
+ 5
@Kirk Schafer
they have been keeping busy xD
+ 4
Burey's visualization:
https://code.sololearn.com/WRK8Y6Bkj9eP/?ref=app
+ 4
@Burey wow. I was imagining the choreographer talking to this group - "you want us to do what now?" - and the related videos appear, and one of them's a playlist of 50+. Just wow.
+ 1
The Algorithm compares two elements next to each other and switch them if the right one is smaller than the left one.
+ 1
I think this will help you to know bubble sorting:- http://www.circuitstoday.com/bubble-sorting-algorithm
+ 1
hahahh... nice way to etch in something. 😂
+ 1
you should use app called algorithms from pla store to learn DS stuff...
0
It's named bubblesorting because the bigger values move right and rise like bubbles.
Edit:
You have to bubblesort as many times as the array has elements, then it's sorted by size.
0
can you give me an example? like arranging numbers on ascending order?
0
Thank you.
0
thank you
0
Here's mine:
https://code.sololearn.com/c7nk4nm37DyK/?ref=app