Yup, this animation works two ways.
zakiakhmad 2 years ago
is not standart bubblesort (bubblesort doesnt change direction)
alfst 3 years ago 3
there is a little mistake
this vid describes Shakesort (not Bubblesort which doesn't change direction)
urielh 2 years ago 3
Isn't that shakersort? Going front to back and then back to front instead of just going front to back over and over again?
t3hn1pwn 3 years ago
I think you're right. Shakersort is just a little but more optimized than bubble if you have very small items at the end of the list - they just get brought to the front a bit faster.
Anubisxian 3 years ago
+ a segment for unknown max or min
spider853 3 years ago
Yup, this animation works two ways.
zakiakhmad 2 years ago
is not standart bubblesort (bubblesort doesnt change direction)
alfst 3 years ago 3
there is a little mistake
this vid describes Shakesort (not Bubblesort which doesn't change direction)
urielh 2 years ago 3
Isn't that shakersort? Going front to back and then back to front instead of just going front to back over and over again?
t3hn1pwn 3 years ago
I think you're right. Shakersort is just a little but more optimized than bubble if you have very small items at the end of the list - they just get brought to the front a bit faster.
Anubisxian 3 years ago
+ a segment for unknown max or min
spider853 3 years ago