Тёмный

Slow sorting: Stooge sort and Bogo sort 

udiprod
Подписаться 137 тыс.
Просмотров 464 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,9 тыс.   
@KevinSiebert
@KevinSiebert 4 года назад
Ok that's why it's 40 minutes, we're waiting on bogo to finish
@pvic6959
@pvic6959 4 года назад
ive seen other sorting videos and they never let bogo sort finish lol
@ouch9841
@ouch9841 4 года назад
33 Minutes and 6 seconds accutally...
@ChadwickMann
@ChadwickMann 4 года назад
I thought this was a joke at first...
@NStripleseven
@NStripleseven 4 года назад
I actually find it somewhat weird to see a random scramble eventually sort a list.
@toddkes5890
@toddkes5890 4 года назад
Imagine someone reporting this to RU-vid for restricted content, so the human moderator has to watch the whole thing
@carykh
@carykh 3 года назад
poor bogosort. I know that feeling of being the last person in class to be working on a test, and the teacher waiting solely on you, and the other students just want to go home for the day, and... ugh... bogosort if you need support im here man
@shroomy__rxcks
@shroomy__rxcks 3 года назад
i didn't expect to see you here-
@alexkatakuna2615
@alexkatakuna2615 3 года назад
okay bogosort kinnie
@Stephen14414
@Stephen14414 3 года назад
Hello Cary
@noticeme6412
@noticeme6412 3 года назад
my favorite 2D animator, love your content
@mariafe7050
@mariafe7050 3 года назад
Bogo lives matter!
@organicpumpkin2147
@organicpumpkin2147 4 года назад
The funniest part is that bogo sort, unlike other sorts, it has a time range of *0* to *Infinity*
@Gh0sdeeri
@Gh0sdeeri 4 года назад
That both is really interesting but also absolutely ridiculous. I mean on one hand it'd make sense considering how bogo sort works, but on the other hand the fact its time range is from 0 to infinity is bewildering.
@paper2222
@paper2222 4 года назад
nah, it's probably like 6⁶ edit idk what i was smoking don't reply to me pls
@minetech4898
@minetech4898 4 года назад
@@paper2222 it's actually best case O(1), average case O(n!), and worst case O(infinity)
@imadhamaidi
@imadhamaidi 3 года назад
@@minetech4898 false. it still has to check if the pairs are sorted even if it is given an all sorted pair. so the best case is O(n-1).
@minetech4898
@minetech4898 3 года назад
@@imadhamaidithat's true, I never actually considered the isSorted to be part of the algorithm for some reason.
@subzeroelectronics3022
@subzeroelectronics3022 3 года назад
I love how bogo sort occasionally looks at the camera after pushing the button like, “is it gonna work this time?”
@davistoa
@davistoa 4 года назад
This might be the first time I've seen a bogo sort actually succeed.
@FoxDren
@FoxDren 4 года назад
Statistically BOGO sort is guaranteed to succeed eventually
@englishmotherfucker1058
@englishmotherfucker1058 4 года назад
@@FoxDren given a large enough list (not too long, just a phone book or something) then it could, maybe, succed. not in my lifetime tho
@TheNaturalnuke
@TheNaturalnuke 4 года назад
Technically speaking, BOGO sort has the smallest possible sort number. ... and the highest, whoo! rAnDOm¡
@uwakii2967
@uwakii2967 4 года назад
Yea, the first and last time lmao
@magnusrx
@magnusrx 4 года назад
Worst Case Scenario: If there are n items, then there will be n! (n factorial=1x2x3x4x...x(n-1)x n) permutations until he finds the correct one! If there are 170 items, then he will have more than 1.80x10^308 permutations
@malkistdev
@malkistdev 4 года назад
the only reason the channel's hiatus took so long is because they had to animate bogo sort lol
@kajwbidonajdowlem5013
@kajwbidonajdowlem5013 4 года назад
i feel bad for the guy who had to animate all that honestly
@fleshchild
@fleshchild 4 года назад
I'm sure that the animation is automated in some way
@erikbullon5511
@erikbullon5511 4 года назад
XD
@kajwbidonajdowlem5013
@kajwbidonajdowlem5013 4 года назад
@@fleshchild shush
@tripphenderson8499
@tripphenderson8499 3 года назад
@@kajwbidonajdowlem5013 it is quite literally a video about *automated* sorting
@Blargel
@Blargel 2 года назад
I like how the stooge sort bot is just looking around mindlessly while waiting for bogo sort to finish, but it's been established already that they have incredibly poor eyesight so he's not really seeing anything.
@_1derscore
@_1derscore 4 года назад
solid 30+ mins of Bogo trying to get all 6 to line up perfectly
@lucashoffses9019
@lucashoffses9019 3 года назад
Imagine the pain he feels at 7:35 where the list is almost sorted
@KingBobXVI
@KingBobXVI 3 года назад
@@lucashoffses9019 - And it was only 4 comparisons behind bubble too, so, so close...
@ChillstoneBlakeBlast
@ChillstoneBlakeBlast 4 года назад
26:10 has an easter egg.
@chimkinnuggs753
@chimkinnuggs753 4 года назад
:o
@rejireyfernandez274
@rejireyfernandez274 4 года назад
Thank you I guess
@romeolz
@romeolz 4 года назад
Wait... HOW DID YOU NOTICE
@rejireyfernandez274
@rejireyfernandez274 4 года назад
@@romeolz uh he watched the whole thing how else
@romeolz
@romeolz 4 года назад
Oh no
@animewaifulover1337
@animewaifulover1337 2 года назад
Bogosort was my first introduction to why time complexity really matters. With a small number of elements, it doesn't matter if you use bubble sort or quick sort or whatever, but you try a bogosort on just 15 elements and you might as well just sort them yourself lol.
@mike_dft1267
@mike_dft1267 2 года назад
Quantum bogosort is a hypothetical sorting algorithm based on bogosort, created as an in-joke among computer scientists. The algorithm generates a random permutation of its input using a quantum source of entropy, checks if the list is sorted, and, if it is not, destroys the universe. Assuming that the many-worlds interpretation holds, the use of this algorithm will result in at least one surviving universe where the input was successfully sorted in O(n) time.
@MarkusSchaber
@MarkusSchaber 4 года назад
I honestly feel with the poor "stooge sort" guy who has to hold his arms in a really uncomfortable position. Please give him a chair and let him rest!
@bathbombman
@bathbombman 4 года назад
they probably dont have legs, they just slide on the floor
@NStripleseven
@NStripleseven 3 года назад
.O < > |
@alacer8878
@alacer8878 4 года назад
Okay, so, A. This series has been incredibly I formative. Now I can enjoy those random recommendations of visualized sorts on a whole new level, since I actually know what some of them do. B. You absolute *madlad,* you could not have driven the point more perfectly home with bogosort. I saw Stooge win, watched for maybe three more minutes, and then it *properly* dawned on me how the math worked out. And then I checked the video length, and burst out laughing. Absolutely amazing. Keep doing what you're doing, I'm gonna go watch the rest of your vids.
@kilerkai
@kilerkai 4 года назад
I am amazed how "comlicated" things like sorting algorithms can be explained in a way that even i child could understand them.
@Dougiewoof
@Dougiewoof 4 года назад
With the right person and the right methods you can explain anything to even the youngest of children.
@Huntracony
@Huntracony 4 года назад
@@Dougiewoof I'm not so sure anyone could by any method explain string theory to a baby.
@theteddychannel8529
@theteddychannel8529 4 года назад
@@Huntracony yeah I think the minimum requirement for being able to learn anything is a fully developed brain.
@loreleihillard5078
@loreleihillard5078 4 года назад
@@theteddychannel8529 not fully developed, since that doesn't happen until around age 25, but definitely partially developed
@theteddychannel8529
@theteddychannel8529 4 года назад
@@loreleihillard5078 I don't know man, maybe 25 IS the minimum, simply because I'm including all "normal" people (meaning without mental disabilities) which means very dumb people are part of the equation.
@Y337n3ss
@Y337n3ss 3 года назад
with most other sorting algorithms, there is usually some way, some arrangement of items you can use to maximize swaps, such as giving Stooge Sort a list that's inverted. but Bogosort goes through the same motions regardless of what it's trying to sort, meaning every configuration is simultaneously the best, and worst case scenario
@rapthis
@rapthis 3 года назад
Bogosort succeeding is more impressive than the DVD screensaver hitting the corner
@johnnyvaughan5841
@johnnyvaughan5841 4 года назад
That would be like trying to fold your clothes by opening the drier. If they aren't folded, you tumble for 10 seconds and check again
@benjaminbrady2385
@benjaminbrady2385 4 года назад
For those wondering: the probability of a given list of n items being sorted on a random shuffle is 1 in n!. As an example, the 6 item list had 6! = 720 combinations so the odds of a given shuffle being correct were 1 in 720. Thus, bogo had a slightly higher than 50% chance of being correct after 479 permutations. The formula for finding the odds of success after t trials given n items using bogo sort is (1 - 1/n!)^t. The average amount of excess comparisons would have been 3. So we have (3 * 479) + 5 comparisons for a slightly higher than 50% chance of success = 1442. The formula for the amount of comparisons for a probability p of success with n items using bogo sort is n/2 log_(1-1/n!) (p) + n - 1. This formula works generally: if you have a random chance C(n) of being correct on a given trial and need to check the list to see if you're correct, then the average amount of comparisons needed is given by n/2 log_(1-C(n)) (p) + n - 1.
@slugcat_number_75487
@slugcat_number_75487 2 года назад
isnt n! in math like n+n-1+n-2...n-(n-1) or does it go to n-n aka 0?
@slugcat_number_75487
@slugcat_number_75487 2 года назад
or is it multiply
@mrgoldengraham027
@mrgoldengraham027 2 года назад
@@slugcat_number_75487 nah n! = n*(n-1)*(n-2)*... until (n-x)=1
@Vuanaunt
@Vuanaunt 2 года назад
At 7:30 you can see BOGO get a batch only 1 off from sorted. At 31 to 27 comparisons, you can tell BOGO is practically as good as Stooge. I don't know what the rest of the video is about but since the conclusion is obvious, I think I'll save myself the thirty minutes.
@lolallday08
@lolallday08 Год назад
This actually calmed me from the most traumatic event I've had thus far in 26 years of living. I honestly might start liking math now...
@alexanchannel
@alexanchannel 3 года назад
OMG you actually did the animation! I've been waiting 3 years to see that! You are the MVP udiprod !
@mikego2611
@mikego2611 3 года назад
Just wanted to say, I love this animations, the explanations, the sound, everything. Very informative!!!
@linguicaguy
@linguicaguy Год назад
That introduction part literally looks just like a freaky dream I had when I was a really young child, with the blue gradient background and the weirdly moving humanoid characters.
@dreamhollow
@dreamhollow 2 года назад
Bogo Sort is like if a sorting algorithm had a terrible gambling addiction.
@ludfde
@ludfde 4 года назад
Stalin sort: kill every item in a wrong position.
@judgeomega
@judgeomega 4 года назад
efficient
@TheAgamemnon911
@TheAgamemnon911 4 года назад
...then kill the rest just because you can and they are already in an ordered list.
@englishmotherfucker1058
@englishmotherfucker1058 4 года назад
a million swaps are a statistic
@krumelkeks7398
@krumelkeks7398 4 года назад
So Stalin should've killed himself? #Trotsky4life!!!111!!!
@englishmotherfucker1058
@englishmotherfucker1058 4 года назад
@@krumelkeks7398 I'm addicted to you don't you know that you're trotzkist?
@kibbypawbs
@kibbypawbs Год назад
everyone's talking about bogo sort but man i feel bad for bubble sort he was finally gonna win one but was left with confusion while waiting 2 minutes for stooge sort to finish and eventually win
@epsilonthedragon1249
@epsilonthedragon1249 4 года назад
I've been looking forward to more sorting videos from you! Thank you for supplying; love them!
@MegaHellenkeller
@MegaHellenkeller 4 месяца назад
Imagine being the animator. The person actually animated it so that the balls actually move to where they are supposed to be. That had to be an insane amount of work.
@killero00
@killero00 2 года назад
If you treat the sort comparisons as money spent: Then this perfectly illustrates why you shouldn’t play the lottery to reach your goals.
@hehehenyxnyxnyx
@hehehenyxnyxnyx 7 месяцев назад
Stooge sort should make some idle animations, like whipping out a watch, starting to sleep, etc.
@alextheumbreon1363
@alextheumbreon1363 2 месяца назад
I just realized a way to optimize Stooge Sort. If we notice that sublist 2 is already sorted, by making no swaps, that means when we go back to sublist 1, we don't need to swap, as it didn't change. This should work, even if we made changes to sublist 1 ahead of time. Check 1. Is sorted? Sure move on. Check 2. Is sorted? Skip 1. Is not? Sort. Check 1.
@lolwhot
@lolwhot Год назад
Apparently, the second shuffling has n! possibilities, all of equal probability of 1/n!. In the other hand, the frist shuffling has n^n possibilities, which have different chances dwoending on which. Accepting that you can only shuffle with at least 2 objects, and n^n is always bigger than n! for 2 and above, the second shuffling makes the Bogo sorting way more efficient.
@eynsai
@eynsai Год назад
love how bubblesort just sits there looking around
@angelcaru
@angelcaru 5 месяцев назад
Ohhhh this was your excuse to talk about shuffling algorithms!
@siyustuff213
@siyustuff213 2 года назад
bro i watched like 15 minutes in before realising the entire rest of the video was just bogo sort taking it's sweet time
@BelegaerTheGreat
@BelegaerTheGreat 4 месяца назад
The madlads actually animated that 40 minutes!
@Bhunt9394
@Bhunt9394 2 года назад
Bubble Sort is finally better than someone, and it’s in a race to see who’s SLOWER. This poor boy can’t catch a break.
@FurryEskimo
@FurryEskimo 2 года назад
Little did you know, I have an even more inefficient method! I check them semi-randomly, forget what I’ve already checked, take a break, do the whole thing again, and then have someone else double check my work. Trump that robots! Human inefficiency at its finest! 💪🧠
@joshuahudson2170
@joshuahudson2170 Год назад
Fun fact: if you key the mathematical definition of list and sorted list into prolog it spits out a deterministic version of bogosort.
@treesop
@treesop 2 года назад
x: Hey, just wonderinh if you got your photos sorted y: Bogos sorted? x: What? y: 💀
@BallerDan53
@BallerDan53 3 года назад
Came for the theory, stayed for the competition.
@dougthedonkey1805
@dougthedonkey1805 3 года назад
I like how Stooge sort blinks occasionally
@cirlu_bd
@cirlu_bd Год назад
it would have been hilarous if the Bogo Sort sorted its ball just before Stooge finished, I was so ready for that to happend
@KoderKat
@KoderKat 2 года назад
I don't know how I got here. I don't know what any of this means. it's 3 in the morning and I'm confused out of my mind. good video 👍
@friedchickenUSA
@friedchickenUSA 2 года назад
i cannot express how much this video means to me
@bung_us7207
@bung_us7207 2 года назад
i love that, never speed it up we need to watch it in its glory
@thedevourerofgods1686
@thedevourerofgods1686 2 года назад
not me checking the video and seeing im only 7 fucking minutes into the video and bogo sort is just chugging along for like 33 out of the nearly 41 minutes of this video just sorting, speaks to it's hilariously inefficient existence, that is unless you're a very lucky person
@PuhlReshaped
@PuhlReshaped 4 года назад
Did i really just watch a little blue robot suffle and look at balls for 40 minutes
@Jeffrey_LOL-vi9wy
@Jeffrey_LOL-vi9wy 10 месяцев назад
Stooge sort: I might be slow, but hey, at least I get to leave once I’m done Bogo sort: I’m about to end this whole mans career
@davidvelasco4423
@davidvelasco4423 4 года назад
STANDINGS: 21 Quicksort 44 Bubble Sort 44 Merge Sort 52 Quicksort 39 Heap Sort 23 Merge Sort 30 Insertion Sort 44 Bubble Sort 36 Bubble Sort 81 Stooge Sort 27 Stooge Sort 950 Bogosort
@a.s8897
@a.s8897 3 года назад
Welcome back, Udiprod
@TheAussieRepairGuy
@TheAussieRepairGuy 3 года назад
Bogo sort is going to be highly subjective depending on the randomization method used.
@Minecraftgnom
@Minecraftgnom 3 года назад
Bogosort was actually quite lucky here. Finishing after 345 tries only has a chance of 38%. I expected it to take a lot longer, considering the >50% is at 499 tries. And when being unlucky, there's a 10% chance that it could've taken more than 1657 tries... That would've taken around 2 hours and 36 minutes... >_>
@Wonders_of_Reality
@Wonders_of_Reality 2 года назад
Well, as an animator, I would probably help him by using my powers over his tiny universe.
@SGRebooted
@SGRebooted Год назад
Bogo sort is the equivalent of throwing the number pencil down to guess on a math question.
@tuhunerd
@tuhunerd 2 года назад
I'd like to see a visualization of gravity sort and counting sort
@bluemintorsomething
@bluemintorsomething 2 года назад
udiprod:bogosort,YOURE FIRED bogosort:i will teach you a lesson. *sorts balls* 666 years later.... udiprod:OK OK I AM TIRED PLEASE I'M SORRY bogosort:ok.
@noob_duck1454
@noob_duck1454 3 года назад
stooge sort just looks so confused while waiting for bogo sort. like "why on earth am i still here, can i go home now please"
@MCRuCr
@MCRuCr 3 года назад
There should be a contest for writing the slowest sorting algorithm faster than bogosort
@hurktang
@hurktang 4 года назад
Bogo sort 2.0 : Have him keep track of all permutation and keep sorting until he's 99.9% sure the balls are sorted completely randomly. Then complete the sort.
@willjohnson4579
@willjohnson4579 3 года назад
Bogo sort has a best case of O(n) and a worst case of O((n+1)!), where n is the number of items. Here n = 9, so in the best case it will take 9 runs on average. The worst case however is (n+1)!, the ! means factorial. Factorials are multiplying every number starting from the factorial and going down to 1. Eg 3! = 3 x 2 x 1 = 6. For (n+1)! we can solve using n = 9; (n+1)! = (9+1)! = 10! = 10 x 9 x 8 x 7 x 6 x 5 x 4 x 3 x 2 x 1 = 3,628,800, over 3.6 million runs. 605 might seem like a lot, but this was extremely lucky, and I dare say the 605th shuffle was intentionally made to be correct because the animator was losing their sanity working on this.
@driftliketokyo34ftw35
@driftliketokyo34ftw35 3 года назад
7:26 WE WERE SO CLOSE TO PERFECTION.
@hps362
@hps362 Год назад
38:20 I swear this is the only time he looks at the camera. He knows this is his moment.
@Dynabtw
@Dynabtw 3 года назад
I watched all 31 minutes of bogo sorting, expecting something else would happen.
@pelerflyp5398
@pelerflyp5398 4 года назад
THE LEGEND RETURS AND WITH THE LEGENDARY BOGO SORT ITSELF!
@LoraLoibu
@LoraLoibu 4 года назад
*THE RETURN OF THE KING*
@vb0t429
@vb0t429 4 года назад
Long awaited!
@taiyihanle
@taiyihanle 4 года назад
6:15 Bogo stares into you. "Watch me win this."
@alexfizik1093
@alexfizik1093 2 года назад
Bogo sort really waiting for the array to sort itself
@Tuberex
@Tuberex 4 года назад
Finally, waited for this for months
@alexanchannel
@alexanchannel 3 года назад
Bogosort is like this kid who did not study for its midterm and trying so hard to get to the right answers with the little knowledge he has.
@eggofwah4852
@eggofwah4852 4 года назад
more of my favorite series! woo!
@uknownada
@uknownada 2 года назад
26:05 They're back!!!
@andrewnicholas291
@andrewnicholas291 3 года назад
Bogo sort is like: Are these right? Yes they are Are these right? Yes they are Are these right? No they're not Mixy mixy time For 30 minutes
@legohexman2858
@legohexman2858 4 года назад
38:31 is where bogo succeeds
@Shmuklidooha
@Shmuklidooha 2 года назад
The time complexity for Bogo sort is O(n!) so it would take on average 720 shuffles. So this robot got lucky and did it in about half the time.
@EmmyBlubonic
@EmmyBlubonic Год назад
i like how the bogo bot has a little hat
@personperson8199
@personperson8199 Год назад
i just watched a robot grapple with a gambling addiction for a half hour. that realization hit me hard
@lucashoffses9019
@lucashoffses9019 3 года назад
The bogo sort robot actually got lucky. It finished much sooner than expected.
@AffyMoon
@AffyMoon 2 года назад
i love how bubble just sits there after winning and stares in random directions like "holy shit I'm faster... what fo i do now?"
@chromacat248
@chromacat248 3 года назад
took me a while to figure out why the less efficient one won
@fleshchild
@fleshchild 4 года назад
Its *my* sleepover, and *I* get to choose the movie!
@FabbrizioPlays
@FabbrizioPlays 3 года назад
I'm definitely not the first one to think of this, but Stooge sort would be cut significantly if step 3 was skipped whenever step 2 resulted in no change. Just that one modification. It's such a redundant sort.
@NStripleseven
@NStripleseven 3 года назад
What about bogobogosort? Bogosort, but it randomly picks an arrangement of balls and scrambles them until it gets there. If that arrangement happened to be the correct one, we’re done. If not, do it again.
@xan1613
@xan1613 4 месяца назад
just check back later to see if its sorted itself, no need for fancy algorythms
@jaqiqi33
@jaqiqi33 2 года назад
Man, the one at like 120 sorts in where there were only two balls swapped killed me
@jaqiqi33
@jaqiqi33 2 года назад
Oof nvm 279 was way worse
@Bacony_Cakes
@Bacony_Cakes 4 года назад
How do Bitonic, Gravity, and Radix work?
@davineves8529
@davineves8529 4 года назад
Poor bubble sort, lost all rounds for being the slowest one, and when he is faster, rules change so he loses, the universe is truly unjust.
@ChillstoneBlakeBlast
@ChillstoneBlakeBlast 4 года назад
Bubble Sort is sort of a meme in programming field. Is is barebone and not good for almost anything.
@kikololoi14
@kikololoi14 4 года назад
Bubble sort is one of the easiest to code tho so it has that going for it
@TheDubbingLtdOrNotSamin
@TheDubbingLtdOrNotSamin 3 года назад
Justice for bubble sort ✊✊✊📊
@TheAmericanFox
@TheAmericanFox 3 года назад
@@rishiishere. so is insertion sort
@wheat2849
@wheat2849 3 года назад
Bubble sort needs a hug
@huhneat1076
@huhneat1076 2 года назад
I love how there's casually a 30-minute interlude of Bogo and then the video resumes with content like nothing happened
@sisebutomenguivalez
@sisebutomenguivalez Год назад
Just like that video of howtobasic where he cooks a turkey with no cuts
@NguyenTrungHieu536
@NguyenTrungHieu536 Год назад
Lol
@ConSoot
@ConSoot Год назад
Bogo sort is actually a gigachad since it always have a chance to one-shot any lists, regardless of the length.
@brandonm1708
@brandonm1708 5 месяцев назад
@@ConSootit’s got a minimum efficiency of O(1) and a maximum of O(infinity). Truly the best sorting algorithm I’ve ever seen
@person8064
@person8064 5 месяцев назад
​@@brandonm1708 technically every sorting algorithm has a min efficiency of O(1) tho
@embeddedbastler6406
@embeddedbastler6406 4 года назад
If there are infinite universes, then there is a universe where Bogosort is right every single time and nobody knows why.
@rebca_
@rebca_ 4 года назад
God sort.
@hecko-yes
@hecko-yes 4 года назад
someone came up with quantum bogosort, which exploits that fact by destroying all the universes in which it's wrong
@ferdinandkraft857
@ferdinandkraft857 4 года назад
You made my day.
@jontedeakin1986
@jontedeakin1986 4 года назад
There is also a universe where bogo sort gets everything right all the time until it is used mid flight on a plane
@WillToWinvlog
@WillToWinvlog 4 года назад
There could also be infinite universes without any of them having that particular quality, though.
@SKyrim190
@SKyrim190 2 года назад
I like to think about stooge sort as a bubble sort that suffers from anxiety and is obsessed with the fear that the part of the list he already sorted is shuffled when he is not looking, so he is always double, triple or quadruple checking
@deleetiusproductions3497
@deleetiusproductions3497 Год назад
That’s quite a reasonable assessment. As the sort deals with larger and larger arrays, the vast majority of comparisons done become entirely redundant because it had already sorted that area and hasn’t touched it since.
@IgnisWings
@IgnisWings 4 года назад
*Sorting robot gambles for 30 minutes straight as his companion helplessly watches (ASMR)*
@Waterwolf221
@Waterwolf221 3 года назад
Its unironically pleasant to listen to the balls shuffling
@jivejunior8753
@jivejunior8753 3 года назад
Good title. I'd watch that as an ASMR video
@Ihaveagasmask
@Ihaveagasmask Год назад
@@Waterwolf221 🤨📸
@Jonskipvp
@Jonskipvp 5 месяцев назад
jesus christ 😂😂😂
@ojd9145
@ojd9145 4 месяца назад
​​@@Ihaveagasmask🔵 🔴 🟡 🟢 🟣 🟠 sort them
@Huntracony
@Huntracony 4 года назад
Sure, Bogo sort is by far the slowest sorting algorithm on average, but if it gets lucky, it's the fastest possible sorting system around!
@MitruMesre
@MitruMesre 4 года назад
Quantum bogosort: Start with an unsorted array. Shuffle the elements randomly If it's solved, print the array. If it's unsolved, destroy the universe. All remaining universes will have had an instant sorting.
@ChillstoneBlakeBlast
@ChillstoneBlakeBlast 4 года назад
Bogo Sort: Drawing all Exodia Pieces
@derekliu793
@derekliu793 4 года назад
clearly you've never heard of bogobogo sort, a worse version of bogo sort (somehow), or worst sort, a worse version of bad sort (recursive).
@ChillstoneBlakeBlast
@ChillstoneBlakeBlast 4 года назад
@@derekliu793 Isn't that the one which Randomizes like Bogo sort but instead of randomizing the whole thing, it randomizes one item at a time, and once the item is correct, it randomizes 2 items all until it reaches a point in randomizes items at a time?
@GRBtutorials
@GRBtutorials 4 года назад
Slowest? You haven’t seen mine: check if it’s sorted, repeat. Eventually data will be sorted by random quantum fluctuations!
@asailijhijr
@asailijhijr 2 года назад
I like how the bogo sort robot doesn't randomize the list himself, but has a machine to do it for him.
@drinks_mayo
@drinks_mayo Год назад
I think the animators would die before finishing this if bogo did that
@nodezsh
@nodezsh Год назад
​@@drinks_mayoAnimating it is probably the easy part. There gets a point in a CGI animation crew's life where they can't hand craft the animation anymore and have to write some custom animation software code that can do the incredibly detailed stuff, so the animators can take care of the bigger picture instead. This could have four or five sets of animations that could be chained and dynamically switched between. Then some code would actually calculate a sort and record every step, and the animation software would copy that recorded scenario. The animators would make the code look pretty, but the code would piece everything together. It would take little time to animate 1000 balls. They could make the rendering last until the end of the universe if they wanted to. And they wouldn't have to give any input for more than the first 30 seconds of the animation, and then the last 30 seconds of the animation. Also, there is no way you could pay anyone to animate this video. They probably did code something that would chain these animations together, regardless of the ball shuffle animation.
@realcrazj1399
@realcrazj1399 Год назад
the robot's robot uprising
@aotmr1604
@aotmr1604 4 месяца назад
bogosort w randomizing oracle
@loopiloop
@loopiloop 4 года назад
POV: you are the stooge sort robot and want to go home.
@glottalstop2080
@glottalstop2080 4 года назад
Loopiloop no
@bunbunnbunnybun
@bunbunnbunnybun 4 года назад
@@glottalstop2080 yes
@NStripleseven
@NStripleseven 4 года назад
Lol
@davidmorley7495
@davidmorley7495 4 года назад
Wbannie Dylan no, robots don’t have minds
@NStripleseven
@NStripleseven 4 года назад
David Morley How do you know?
@mattjw16
@mattjw16 4 года назад
I kind of feel bad for the Stooge Sort robot who just has to stand there for a half of an hour and wait patiently for Bogo Sort to finish sorting.
@idontwantanamethx
@idontwantanamethx 4 года назад
And he still loses. That's insult to injury.
@progect3548
@progect3548 4 года назад
@@idontwantanamethx its a battle of which is slower. **whoooosh shield activated**
@idontwantanamethx
@idontwantanamethx 4 года назад
@@progect3548 Yeah. And?
@davidkonevky7372
@davidkonevky7372 4 года назад
@@progect3548 he still doesn't deserve to go through all this crap
@posthistoricdino422
@posthistoricdino422 4 года назад
I feel bad for the bogo bot. It's using bogo sort.
@sharpesttoolintheshed492
@sharpesttoolintheshed492 4 года назад
Stooge sort be like: "okay this is done, next one" "hmm, done" "wait lemme make sure its done" "seems done" "hold on is everything done" "looks like it" "ok next one" "hmm done"
@sedmirnel7764
@sedmirnel7764 2 года назад
It's the most human sorting algorithm xd
@proxy7598
@proxy7598 2 года назад
Meanwhile bogosort is "Hmmm I'll gamble" "It's not perfect" "Gamble again!"
@drinks_mayo
@drinks_mayo Год назад
Who will right Shakespeare's hamlet first? One human with really bad ocd double checking everything or a monkey on typewriter that restarts after every mistake
@mrpotatoman253
@mrpotatoman253 2 месяца назад
​@@proxy7598 99% of all sorting algorithms stop before it's all sorted.
@themosaicshow
@themosaicshow 2 месяца назад
@@proxy7598Let’s Go Gambling! *shuffle* *not sorted* Aw Dang It!
@Iam1Person
@Iam1Person 4 года назад
My goodness. You actually rendered half an hour of Bogo Sort.
@huyphamuc6372
@huyphamuc6372 4 года назад
I can smell the smoke that come out from udiprod's pc
@GeorgeCowsert
@GeorgeCowsert 4 года назад
I hope they used something to automate the animation because I'm willing to bet at least 5 animators shot themselves before they even managed to convince someone to animate it.
@Muhammad-sx7wr
@Muhammad-sx7wr 4 года назад
@@GeorgeCowsert Or maybe it was made to look completely random but in fact it wasn't.
@moonsun1473
@moonsun1473 3 года назад
@@Muhammad-sx7wr if you have seen all the video then you would have seen something that proves it was in the middle.
@primekrunkergamer188
@primekrunkergamer188 3 года назад
@@GeorgeCowsert It was definetly automated
@lagcom
@lagcom 4 года назад
However the difference between stooge and bogo is that if they are both fed with an already-sorted list, stooge will still waste your time, but not bogo
@myssangela4872
@myssangela4872 4 года назад
Bogo: My job here is done Me: But you didn't do anything Bogo: *dramatic cape twist *
@AriTheMothQueen
@AriTheMothQueen 3 года назад
@@myssangela4872 that reminds me of Bogo: i have connected the two dots All the other algorythms: you didnt connect shit Bogo: i have connected them
@aa01blue38
@aa01blue38 2 года назад
Bogosort also destroys any other program in terms of memory usage efficiency.
@jetison333
@jetison333 2 года назад
@@aa01blue38 surely bubble sort or similar would be better? Or at least the same.
@zezus001
@zezus001 2 года назад
But that could be said for almost any other algorithm, like Quicksort, bubble sort, merge sort, heap sort, insertion sort, radix sort...
@AexisRai
@AexisRai 3 года назад
36:51 Bogo actually looks at every ball here. I think it would be sufficient to swap just the last two, maybe three. But no. Bogo must bogo on.
@airmanon7213
@airmanon7213 3 года назад
Sounds like an optimization, but I don't think it will make much of a difference on average.
@Mitilda77
@Mitilda77 2 года назад
@@airmanon7213 the 33th comparison was basically the 577th comparison.
@airmanon7213
@airmanon7213 Год назад
@vacuum sealed garfield Looking back 6 months later, I see your point makes sense.
@Underpantswher
@Underpantswher Год назад
also happens at 7:27
@isavenewspapers8890
@isavenewspapers8890 Месяц назад
@@Mitilda77Thirty-thith?
@Mindofthebrick
@Mindofthebrick 4 года назад
The only youtuber who's animations look like they were made today, and at the same time in 2003
@goodluck6948
@goodluck6948 4 года назад
lol!!
@moonlightcocktail
@moonlightcocktail 4 года назад
There's also Eugene Khoturasky (I don't remember the last name)
@HoneycombTheywontletmeputjusto
@HoneycombTheywontletmeputjusto 4 года назад
@@moonlightcocktail Khutoryansky
@Bacony_Cakes
@Bacony_Cakes 4 года назад
Time travel.
@goldash17
@goldash17 4 года назад
Well bogo did take a long time to finish...
Далее
Visualization of Radix sort
7:02
Просмотров 58 тыс.
Merge Sort vs Quick Sort
5:34
Просмотров 1,3 млн
Watermelon magic box! #shorts by Leisi Crazy
00:20
Просмотров 16 млн
10 FORBIDDEN Sorting Algorithms
9:41
Просмотров 865 тыс.
Heaps and Heap Sort
6:06
Просмотров 562 тыс.
Pentomino Facts
18:38
Просмотров 134 тыс.
I Made Sorting Algorithms Race Each Other
8:24
Просмотров 131 тыс.
Outside In
21:25
Просмотров 9 млн
sorting algorithms to relax/study to
58:05
Просмотров 2,8 млн
*SEIZURE WARNING* Pushing Sorts to their Limits
59:06
Cars: engine power and transmission - 3D animation
4:32
Visualizing 70 Sorting Algorithms
29:24
Просмотров 144 тыс.