My guess as to what it's doing here: Those lines represent numbers. Each one is a slightly different height. The algorithm sorts these lines in different, unique ways. Each line also has a slightly different tone assigned to it, which plays when it is compared, swapped, or reversed.
6 possibilities in 6 positions. approximately 46 thousand possible outcomes. Is there a way for an efficiency number to be negative? I think being 2000 times less efficient than literal brute force testing has got to be a record.
I especially like the sort at 23:12 because it reminds me of my parents fighting at night when they thought I was asleep but little did they know that I was fully aware of the situation and cried myself to sleep
@@DaemonWorx I'm refreshing myself on python specifically to make cool sorting algorithms! So far I've only been able to figure out bubble sort though, and my next goal is shaker sort
It's actually pretty simple, here is a vid on how bubble sort works: ruclips.net/video/xli_FI7CuzA/видео.html I am not sure how you would code it tho, or really any thing about data sorting. I am pretty sure that this is just a visual representation of what is going on in code, and correct me if I'm wrong.
I would say merge sort and insertion sort are the most intuitively obvious. Insertion sort is actually fast at tiny scales even though it seems really dumb.
Slow it down. Doesn’t it sound that Family guy scene where the church was trying to find a organist and the kid with the upside down head was playing lmao
@@spidermonk3uVvwy8-2 I think it’s a normal thing now. At first I thought it was just my school in my area cuz we won a google contest and they came to our school n shit but nah everybody on the wave lol we just didn’t have to pay for it b
My dad is a school teacher that had the cart with charging laptops in his classroom, so you already know who he makes to organize them back together at the end of the day everyday 😓
looks pretty crazy, I tried to look into it and from what I could understand the first pass that we see is only gathering data which is why it's not changing the positions of anything in that Main Array; instead, it's inputting all the information into the Auxiliary array and the second pass 'reads' that information in a particular way which puts it in order. The way it registers the data is that it builds a 'binary tree' which apparently takes the first value as a reference point, then the second value will be either bigger or smaller than the first one, and that determines its 'position' relative to the first one. I've found visual examples on Google, all of which show something that looks more like a root system than a tree (or I guess it looks like an upside down tree) where the first value registered is on top, then the second is below it and to the left if it's smaller, or below it and to the right if it's bigger. Then as you keep inputting data it continues to do so, always passing through the whole tree I think. So like if your first value is 50, and your second value is 12 but the third one is 51, then you end up with 50 on top, (that's the root of the tree), 12 below on the left and 51 on the other side, linked to 50. But then if your 4th value is between 12 and 50, then you branch out from 12 and to the right. Every new value branches out from a previous value that doesn't have anything under it. The second pass of this system reads the whole tree, starting from the leftmost value, and following the branches of the tree in a specific order. I guess that's a pretty easy task to do for a computer once the tree is built and the reading order is defined, which is why that second pass is so fast.
I didn't realize how fast it was actually completing the sorts until I saw that the time it took for each one to be completed was mere milliseconds. Honestly astounding
@@NaThingSerious the speed in this video can be misleading. Two numbers to pay attention to in the top left are the number count (the more numbers sorted in the same time, the better) and the sort time (as opposed to visual time). There's also the question of space efficiency when it comes to using auxilary arrays, but that's a separate issue.
Holy crap I just realized why I liked listening to these so much and why I keep coming back to this video to listen to in the background: the sound it makes is really good at masking tinnitus. There's a different video I watch that has a similar sound but it's specifically for masking tinnitus but I just realized how similar the sounds are.
i showed this to my dad and i swear he was like “oh thats a binary sort algorithm” he then started going off on how the program these and how they work for an hour and i have never been so flabbergasted
Reading this and the comment brings a huge smile to my face. Everything about it, from the dad being cool, to leaving something on here about it, and having Lucian469 comment with those words….it’s fucking fabulous
I would never have guessed this would be so interesting to watch. I love the echo you've added to the sound effects as well. I can almost picture the algorithms based on what's happening visually. Very cool stuff.
Bogo bogo sort: I WILL FIND EVERY SINGLE POSSIBLE COMBINATION BEFORE I AM SURE! And when I do, I'll invent all other impossible combinations just to see if they fit better!
@@meox_ According to the official wiki, it's identical to bogosort except for how it checks whether the list is sorted: "To check if the list is sorted, use the following procedure: 1) Make a copy of the list of numbers. 2) Sort the first n-1 elements of the copy using bogobogosort. 3) Check to see if the nth element of the sorted copy is greater than the highest element of the first n-1 elements. If so, the copy is now sorted, else randomise the order of the elements of the copy and go to step 2. 4) Check to see if the copy is in the same order as the original list. "
iterative bitonic sort just made me so happy 30:40 the best sort is not the fastest or most memory efficient: it is the sort the places the data into visually appealing, symmetric piles thank you iterative bitonic sort: the hero we deserve, but not the hero we need right now
@@CyberedCake Edit: Gavin is correct, I'm overthinking it. Bogo Sort: "I will keep randomizing until I find the 1st number. I lock it in place. Then I take everything else and randomize until I find the 2nd number." Bogo Bogo Sort: "I will keep randomizing until I find the 1st number. But I swear to God, if I don't land exactly on the 2nd number the next time I randomize, I'm gonna throw it all away and start over."
When I was in high school, a friend and I coded it up in C to sort a list of length 11, showing intermediate steps. Nearly 20 minutes later, the process was complete! Turns out that we were reseeding the RNG and it caused the same sequence of random numbers to repeat for several iterations
@@rcarlosnunesrc eu tbm não sei muito, mas tem a ver com algoritmos q ordenam números bagunçados, cada algoritmo desses tem um jeito diferente de ajeitar
Ironically, the sort that most resembles the visuals of an LSD trip is the Iterative Bitonic Sort (illustrated best from 31:13 onwards). If you imagine the white cones as an edge you are looking at on LSD, those edges will often take on a "hairy" fractal effect. It makes me wonder how much of our brain function mirrors mathematical equations, or if the way LSD affects the visual centers of the brain can be modeled mathematically. "Currently, the most compelling theories of how psychedelics exert their effects is by increasing the complexity of brain activity and moving the system towards a critical point between order and disorder, creating more dynamic and complex patterns of neural activity... physics suggest that as a system organizes towards criticality, it tends to take on a fractal structure."
*My favorites based on visuals and sound:* 1:29 very satisfying to watch 17:00 looks somehow like a minimalist design 21:01 + 21:12 What is this sorcery sort 21:21 amazing visuals 23:00 it is literally called LSD, and now I know why, the end sounds like a plane taking off 26:09 much better than comb sort 26:50 sounds like a boiling tea kettle 29:46 looks like increasinly abstract pixel art of distant mountains 46:06 I just like the name, the suspense is too much 55:48 nice. 57:51 funny but still inefficient *The ones I hate:* 2:59 this one has no right to take so f-ing long in the end 5:56 too much suspense 8:07 weird static sound 9:42 to 11:26 seems really unnecessary to first sort it the opposite way 13:22 I hate it that there is no progress at all for like 20s 24:02 sounds like a big old printer but in bad 49:26 it's already called silly and it lives up to its name... 52:18 WHAT THE HECK stop taking so long (1+ for the sound tho) 56:36 to 57:11 AAAAAAHHH 57:57 WHAT? Edit: no worries to tell me, I do understand how most of them work by now XD
The sorcery ones are quite simple to explain basically they cheat by knowing what numbers are going to be in the set of numbers and than just put them in place basically I assume in the counting sort 1 the numbers are from 1 to ~16000 so basically since it knows no number is outside of the range it goes to the place the number should be in order and just put it there
@@gabrielc7861 Big to small would be the tallest lines starting on the left and working their way down. Small to big is starting with the smallest lines on the left and going up.
@@gabrielc7861 what the heck about that is a woosh? I was correcting something that was wrong, and not even wrong in a funny way; just a dumb way. Also, r/foundtheredditor
21:12 *Snaps finger* "All in order" WHAT MAGIC IS THIS!? And weirdly enough, the start time stamp of the Pigeonhole can be read backwards and it will still be the same.
"huh, pancake sort is crazy but even that wasn't too hard on the eyes. I wonder if the seizure warning was even real-" 57:57 "Oh. The Porygon episode was pretty tame I guess"
As someone who enjoys memorizing primary keys on legacy SoR tables to the point they can whiteboard out near-usable SQL… this entire video is very calming to me. :) “Ahh… no pagination issues. No sharing the processing queue. No read, all write, all right.”
i don't understand what's going on and at this point I'm too afraid to ask
Animations of sorting algorithms!
You write instructions computer follows instructions at the end numbers are sorted.
@@NottoriousGG you sadly still didn’t dumb it down enough for me
@@rickybishop81 u write. computer do
My guess as to what it's doing here: Those lines represent numbers. Each one is a slightly different height. The algorithm sorts these lines in different, unique ways. Each line also has a slightly different tone assigned to it, which plays when it is compared, swapped, or reversed.
27:02 when the water for my tea is ready
*BRI' ' ISH*
BRI'ISH
When 'he wa'er for my 'ea is ready
@@atampeersandmanlol it's a me a mario?
@@darkly5170 I removed it but I was there.
I came to the video like "huh?'
and left the video like "oh."
oh.
@starsandstuff a
Same, but I left it with a '...wth'
Oh.
“Um?”
Bogo bogo sort is the special one in the family. Pigeonhole sort is like, “Good job buddy, you sorted six shapes!”
Have you ever seen bogosort successfully sort even that many numbers (it may happen but by god not often)
@@fnibbit bogo bogo sort is literally bogo sort ^2
Bogosort is already the special one, so bogobogosort is _extra_ special 😂
them bogos wete binted
X Æ A-12 first words are so cute
ahahahahha
Underrated
Lol
xii not 12
Very cute
24:43 - Step 1 - Get shuffled data, Step 2 - ???, Step 3 - Sorted.
Lol
21:12
1. Read data
2. Do the fucking thing
Step 2 is sorting you silly)
See that counter of Writes to Auxiliary Array? This used some external data structure that wasn't shown on screen
13:23
puts fork in microwave 22:59
Username moment
@@arcturus4762 😃 what
@@grug2713 But would you
@@arcturus4762 No..?
@@cybercritterowo Y tho
Best Picture Awards:
Iterative Pairwise Sorting Network (32:51)
Recursive Pairwise Sorting Network (29:46)
Gravity Sort (21:23)
Best Music Awards:
Exchange Bogo Sort (55:07)
Grailsort (40:43)
My personal favorite in Picture award: Gravity sort
i like the iterative bitonic sort
LSD Radix sort was cool, but not it's in-place variant...
@@nileprimewastaken it's literally Moog City
@@Zellebobba everyone loves Gravity Sort
57:55
It just shuffled 6 numbers 200 million times to get it right...
That's bogo bogo. The ultimate Chad of sorting methods
6 possibilities in 6 positions. approximately 46 thousand possible outcomes. Is there a way for an efficiency number to be negative? I think being 2000 times less efficient than literal brute force testing has got to be a record.
Why does it suck so much? What use could it possibly have?
@@zevinneve the use is showing how bad it is of a sorting algorithm. Its just a joke algorithm, no practical use
@@yosemite963
That's not how permutations work.
6 objects 6 places. Total outcomes (arrangement) = 6^6 =46566
21:13 when you complete a round in a 90's game
SO TRUEEE
JSJJAJAJAHAHHAHAHAHA
@@deja-vu6279 shut up
Was it not just the pinball on windows 97 or something
@@fruitsn4ck you shut up
me: "i'm not a robot"
also me: "damn these sorting algorithms slap"
ikr
@@jonathanjoestar3173 b-but you are a robot?
The profile picture is what makes the joke that much better
@@pahrum cries in rocket noises
you're talking here with a TV head
Shortest sort: 3.7ms (Pigeonhole[21:11]). Longest sort: 40.9s (Time Sort, Mul 10[26:49]). Honerable Mention: Silly Sort (572,566,806 Comparisons[49:26]).
Actually, longest sort is circle sort, 67.5s
Thanks for this.
Man, silly sort is an idiot
@@Your_favorite_seasoning Thanks please for timestamp
@@odanedmcdonald np!
Circle sort: 3:31
@@Your_favorite_seasoning Much thanks bro/sis. That's 67.5 milliseconds, simple mistake.
My therapist: Gradually expanding slanted histogram doesn't exist. It can't hurt you.
Gradually expanding slanted histogram: 23:43
It searches for blood.
It knows where you are. It is expanding to your location. You cannot run. You cannot hide. All you can do is beg.
That sort is the definition of anxiety
It has a timestamp, I like.
I genuinely laughed out loud at this. Like truly, this was the funniest thing I've experienced in a while. What is wrong with me.
mom: Go outside and play with the neighbors kids, they arent that bad
the neighbors kids: 23:03
I remember the neighbours kids flying at piss of miles per hour.
Good times.
POV: you have Elon musk as a neighbor
@Noel Noel what does that even mean
Your neighbor is a printer?
@@Cheese-fp8dy seems like a thing Niko would say.
*_27:10_**_ That actually sounded like a haunted teapot._*
Polteageist!
@@Blockistium Give us a sign!
@@Blockistium I found the funny
nah sorry g i farded
Do u mean kettle or am I dumb
At this point I'm convinced that people make new sorting algorithms just for these visualizations.
"They look depressed, I wonder what they're listening to."
The quiet kids headphones:
Anime pog
Pog
Pog
@@NargacugaMyBeloved anime cringe
@@peisevlogs3431 I kind of agree
Some of the viewers of the genre are pedophiles who escaped from the asylum
4:27
When you've already tidied your room but you have nothing else to do so you convince yourself its still messy to take up time.
L imagine clraning your room in the first place cringe
Get some help. Both of you
Help? For what??
@@Musicombo yeah idk tbh
@@commenttroll6933 nawh, just the person above you should.
The Tournament Sort 13:22 is just when you been working on a problem for a while, give up and then look up the answer online.
57:57=bogo sort been lackin
@@toykoserpent804 hm
thx toykoserpent
"please list your procedure on solving this problem" fuc-
Im the 1000th like!!
I especially like the sort at 23:12 because it reminds me of my parents fighting at night when they thought I was asleep but little did they know that I was fully aware of the situation and cried myself to sleep
Hey man you good
Based
kicked my brotha in da ass
Your parent's are.... ROBOTS!?
Mtt
4:28 when a perfectionist sees something that is already clean
Gotta Make Sure Its Sterilized
you mean me playing viscera cleanup detail
I know your amateur eyes cant see it, but it's a minuscule to the left.
It isnt clean, you can clearly see that it is angled 2 more degrees to the right than its supposed to be, and you didnt even sterilise it
I can confirm, that's me
25:20 when you want the floor to be very very clean
then a cat come by: 57:57
except you forgot about the leftover line of dirt outside of the dustpan
Also comb sort : 3:01
relatable
It looks like it's pentuple checking if it's all right, going slower and slower
"What is bogosort doing?"
"Its best"
Hes trying.
And then there’s Bogo Bogo Sort
Mining Bitcoin apparently
Bogos binted
@@RHR199X I rember 😀
21:12 Pigeonhole sort is an ABSOLUTE BEAST. Sorting 16k items in just 4 MILLI SECONDS (0.0004s)
im glad im not the only one super amazed by that
Small correction, 0.004s, but it's still so damn fast...
It’s just: look at the thing, solve it.
Counting sort is faster I think they are using 14 bit numbers here
@@incription no pidgeonhole is faster
23:56 the most anticlimactic thing ever
fax
Lol 666 reacts
Waka waka
23:45 *The new THX soundeffect sounds great*
Strong Portal 2 OST vibes
@@Ted_II rightttttttt
Haha plane engine go brr
*ANXIETY*
The most insane thing is that despite having no knowledge of how the heckity heck most of these work I still stay until the end.
literally same
I'm making sorts myself, that may someday show up in one of these videos and I still don't know how most of these work
@@DaemonWorx I'm refreshing myself on python specifically to make cool sorting algorithms! So far I've only been able to figure out bubble sort though, and my next goal is shaker sort
It's actually pretty simple, here is a vid on how bubble sort works: ruclips.net/video/xli_FI7CuzA/видео.html I am not sure how you would code it tho, or really any thing about data sorting. I am pretty sure that this is just a visual representation of what is going on in code, and correct me if I'm wrong.
I would say merge sort and insertion sort are the most intuitively obvious. Insertion sort is actually fast at tiny scales even though it seems really dumb.
My personal favorite is 57:50, there are so many numbers that it is unimaginable that a computer could process that much. I can barely count that far.
I can only count to four.
@@bisousethibouxNo need to toot your own horn here...
@@davidthecommenter w reference
Lmao
@@davidthecommenter what in tarnation
Edit: Okay I finally looked it up 😂
"That goth girl is so cute! I wonder what she's listening to."
What she's listening to: 55:07
My fave comment so far xD
🗿
Slow it down. Doesn’t it sound that Family guy scene where the church was trying to find a organist and the kid with the upside down head was playing lmao
Leave these likes at 666 please
This is just 100 gecs
teacher: finishes putting and charging laptops neatly and in correct order before class starts
the laptops at the end of the class: 5:52
@@acebeingace0002 we used to have that in elementary through 5th/6th grade now we just take the chrome books home
@@acebeingace0002 I'm a respectful guy, I put the Chromebook in the right numbered spot and plug in the charger.
@@spidermonk3uVvwy8-2 I think it’s a normal thing now. At first I thought it was just my school in my area cuz we won a google contest and they came to our school n shit but nah everybody on the wave lol we just didn’t have to pay for it b
Then theres that lazy bum who puts a chromebook on a slot with another chromebook already in it
My dad is a school teacher that had the cart with charging laptops in his classroom, so you already know who he makes to organize them back together at the end of the day everyday 😓
I refuse to believe that Shell sort/Gravity sort isnt witchcraft.
😔🤙
i don’t want to search through the whole video, so can you tell the timestamp?
@@til1461 it’s in the description
i cant escape
ayy hi Oz, wasnf expecting to see you here
Nothing could have prepared me for 9:42
This is probably the strangest, "out of the blue" thing RUclips had ever recommended me, but its oddly entrancing...
Why is it kinda funny
@@SnickersEatsCookies HOW ARE WEIRD NOICES WITH WEIRD FRAMES FUNNY?!
@@Jonas_31 idk but your comment was funny
@@Jonas_31 I don’t know
15:36 There are some methods of sorting that I understand but this one was insane
Sorting speedrun any %
From what it looks like it is doing something serious with that auxiliary array rather than modifying the main array.
@@zurps idk what it means but it sounds right
looks pretty crazy, I tried to look into it and from what I could understand the first pass that we see is only gathering data which is why it's not changing the positions of anything in that Main Array; instead, it's inputting all the information into the Auxiliary array and the second pass 'reads' that information in a particular way which puts it in order.
The way it registers the data is that it builds a 'binary tree' which apparently takes the first value as a reference point, then the second value will be either bigger or smaller than the first one, and that determines its 'position' relative to the first one. I've found visual examples on Google, all of which show something that looks more like a root system than a tree (or I guess it looks like an upside down tree) where the first value registered is on top, then the second is below it and to the left if it's smaller, or below it and to the right if it's bigger.
Then as you keep inputting data it continues to do so, always passing through the whole tree I think. So like if your first value is 50, and your second value is 12 but the third one is 51, then you end up with 50 on top, (that's the root of the tree), 12 below on the left and 51 on the other side, linked to 50. But then if your 4th value is between 12 and 50, then you branch out from 12 and to the right. Every new value branches out from a previous value that doesn't have anything under it.
The second pass of this system reads the whole tree, starting from the leftmost value, and following the branches of the tree in a specific order. I guess that's a pretty easy task to do for a computer once the tree is built and the reading order is defined, which is why that second pass is so fast.
@@__-cd9ug cool
"Yo the Earthbound soundtrack slaps"
The Earthbound soundtrack:
It does slap tho ruclips.net/video/spF6PuFh7y4/видео.html
Haha *yes*
This is even better because according to the description the uploader is a part of/a fan of the MOTHER 1 and 2 restoration project
It slaps
As a person who’s a huge fan and actually played EarthBound, I can confirm that this is true.
my fave gotta be the gravitational sort at 21:54 no wonder plankton dated a robot
0:48 POV: You're falling down a bottomless pit
i see and hear this
Falling below bedrock in Minecraft
UNDERTALE
@@ninjireal when it's not a pun but it's a pun
all me see is vagene
55:49 its so satisfying seeing how this moves, as if its in 3d.
Edit: yes i got bored and watched this for an hour
It’s rotating
Sitie
like buildings and a mountain behind it
27:00 aswell is satisfying
So.. have you watched this vedio for 55:49 ???
This sounds like when I would run my fingers down my dad's comb as a child.
@Dillon Howington yes everyone did if you didnt growing up, you arent real
IT DOES
i rlly thought you said “dad’s womb”
@@NoOne-bc6sq what about ppl without dads? Are they a figment of our collective imagination?!
@@J4red498 yes
I didn't realize how fast it was actually completing the sorts until I saw that the time it took for each one to be completed was mere milliseconds. Honestly astounding
Except BOGO BOGO sort
Sort() is fastest
look at time sort at 26:50
@@uuproverlord8324
The sort() function is Timsort, and while it's one of the greatest, there are a few that are faster.
The fact that one of the names of the sorts is *"Optimized gnome sort"* is beautiful to me.
And it’s actually quite efficient
Uuuhhhmmm optimized gnome sort is actually not particularly efficient!!
@@Musicombo ok, idk much about sorting algorithms but it seemed faster than most of the other sorts (idk if that makes it efficient)
@@NaThingSerious the speed in this video can be misleading. Two numbers to pay attention to in the top left are the number count (the more numbers sorted in the same time, the better) and the sort time (as opposed to visual time). There's also the question of space efficiency when it comes to using auxilary arrays, but that's a separate issue.
shoutout tim sort 37:14
19:44 so that's how they made the pac man death sound
Sounded more like flight of the bumblebees to me lol
or is it?
hey vsauce michael here.
imagine this played loudly through a speaker in the middle of a corn field
Don't even need crop circles anymore to scare people :)
sirenhead?? is that u?
@@OmnipresentEyes no
@@OmnipresentEyes no
lmao /j sorry :)
Holy crap I just realized why I liked listening to these so much and why I keep coming back to this video to listen to in the background: the sound it makes is really good at masking tinnitus. There's a different video I watch that has a similar sound but it's specifically for masking tinnitus but I just realized how similar the sounds are.
31:16 so thats where pacman eating got his sound effect
Accurate
Then when he dies 19:40
It also sounded like a mario 64 song
That sounds nothing like it 🤣
I mean, kinda
i showed this to my dad and i swear he was like “oh thats a binary sort algorithm”
he then started going off on how the program these and how they work for an hour and i have never been so flabbergasted
that’s a good dad, don’t lose it
Reading this and the comment brings a huge smile to my face. Everything about it, from the dad being cool, to leaving something on here about it, and having Lucian469 comment with those words….it’s fucking fabulous
I’m flabbergasted that you used the word flabbergasted
y'all so wholesome
@@eduardolindner9333 W̷̡̡̡͎̞̤̖͎̘͓͗̉̿̈́̏͘ę̴̢̬̠̭̦̬̬̱̪̺̣̘̅ͅ ̷̡̣̖̬̭̗̹̥̐͛̾̃̋͆͒̓͊̊͘a̴̧̞̦͓̣͋̆͆͗͊͑͘ͅl̶̨͕̫̱͔͉̖͎͈̲̹̺͑̈́̾l̷̹͍̼̥̻̪͓̯̪̠̐͛̀̍̉͒̐̋͆̅̅̕ ̷̢̡̗̰̖͇̳̪͓̺͙̾̐̏̓̈́̌̈́̍̀̏ͅd̶̫̀̆̑̑͑̔͑̅̏̈́̏́͊͑į̶͖̰̙͔͖̳̹̭̱̺͉͈̮̀͗e̶̡͗̐͂̍̎̉ ̵̧̨̛̙̲͖̱̘̦̬̠̝͔͋͊͛̍̆̇̅́͘ê̷̡̛̲͉̝̘̦̟̬̬͈̺͐̉v̴̜̗͒̑͗e̷͖͕̙̺̯̘̠̙̳͒͊̽̋̈́͛̿̈́͗̋͋̆͝ͅn̶̤̭̜̰̭̫͋̃̈́͌̅͑͐͝t̸̞̬͓̜̺̳̬̺̺̖̱͔̚ừ̸̢̻̜͇͍̖̲̝̻͖̞͐̃͊̓̐̅̑͗a̵̙̦͎̗̙̤̗̤̣̾͠ļ̵̢̞͙̖͈̜̰̠̪͔̟͚͊͑l̴̼̻̤͠y̵̧̛̟̣̳̳̗̪̳̝̞̭͉̍͋͜ͅ.̵̧̧̡̧̼͕̻̻̻̟̿̐
I would never have guessed this would be so interesting to watch. I love the echo you've added to the sound effects as well. I can almost picture the algorithms based on what's happening visually. Very cool stuff.
Yhh
hey. you copied my name!
WHATS A ALGORITHEMS.?
For some reason yeah
@@cat-pizza Algorithms
Thank you for giving Bogo sort a chance 🙏🏻
The toilet normally: _quiet, not disturbing at all_
The toilet at 3AM: 19:40
The goddang toilet is about to drop a nuke from all those crap streaks
@@Tetopettenson1 thats the worst sentence ive ever heard
X D
@@Tetopettenson1 wha ?
@@Tetopettenson1 I am going to sue you for putting "Crap streaks" in my mind.
When teach asks the class to line up alphabetically
@@choppercove 😳
@@choppercove Ayooo
@@choppercove what's bogo
@@choppercove oh thx
fr that shit was always so hard
This gets weirder when you realise that the black part is also being sorted in the exact same way
Do you think that could be a way to store double data? By uaing the black?
@@maggsstuckey487 no because the black data is just the inverse of the white data. there's no way to really store different information there.
@@maggsstuckey487 basically a copy? reflection?
Wait they were sorting the white part?
:(
7:59 pacman dying
"I'm 13 year old from Atlanta tryin to make outta the hood, these are my best beats"
58:19 when you step into an irradiated zone in a video game
Fallout 3
Geiger counter moment
@@nakulab stalker....
Minecraft Nether biome ambience
Call of duty 4 Modern warfare's chernobyl mission moment
I love the one at 23:00
It's enough to make someone who doesn't usually get seizures get a seizure.
wait, why did you watch 23 minutes of this
@@starfowlshift I did but like shut up bro stop calling me out
@@kelpdock8913 There's only one answer and you know it:
I got stuff to do and I don't want to do it.
@@kelpdock8913 Also, it was called LSD, and I really wanted to find out what that meant in this context.
Music sezuire
Bubble sort and merge sorting were fun to learn. These videos make me appreciate the efficiency of certain sorting methods.
Bogo bogo sort: I WILL FIND EVERY SINGLE POSSIBLE COMBINATION BEFORE I AM SURE! And when I do, I'll invent all other impossible combinations just to see if they fit better!
That must be the algorithm that Joshua was using in War Games to find the ICBM launch codes.
normal bogo sort: i will try this random combination and check it
Meox_ Seems like it does the same as bogo sort except it will keep going until it checked every combination, even after it finds the right one.
It’s just 6??? It took a solid minute, at least 100 billion combinations to find the fucker that worked
@@meox_ According to the official wiki, it's identical to bogosort except for how it checks whether the list is sorted:
"To check if the list is sorted, use the following procedure:
1) Make a copy of the list of numbers.
2) Sort the first n-1 elements of the copy using bogobogosort.
3) Check to see if the nth element of the sorted copy is greater than the highest element of the first n-1 elements. If so, the copy is now sorted, else randomise the order of the elements of the copy and go to step 2.
4) Check to see if the copy is in the same order as the original list. "
23:40 RUclips captions: "Music"
Ah yes, the wonderful ear splitting noise of sorting algorithms
25:26
Foreign
56:40 [laughter]
25:40 um
@@dÒwÓb-qÓwÒp even youtube captions are terrified
@@dimuzicle4225 exactly what i thought
I like the Merge Sort at 15:52, reminds me of those games you keep building up bigger and bigger items starting at the base value
Pac man
It’s one of the most efficient sorting algorithms
2048?
tetris?
@braingazer... Like dota 2, wow basically
iterative bitonic sort just made me so happy 30:40
the best sort is not the fastest or most memory efficient: it is the sort the places the data into visually appealing, symmetric piles
thank you iterative bitonic sort: the hero we deserve, but not the hero we need right now
31:12 from here is when the good groove comes in…
Bogo Sort: "Who are you?"
Bogo Bogo Sort: "I'm you but worse."
Better*
BogoBogoBogoSort: BogoBogoSort, but instead of running BogoSort recursively, it runs BogoBogoSort recursively.
What's the difference?
@@CyberedCake
Edit: Gavin is correct, I'm overthinking it.
Bogo Sort: "I will keep randomizing until I find the 1st number. I lock it in place. Then I take everything else and randomize until I find the 2nd number."
Bogo Bogo Sort: "I will keep randomizing until I find the 1st number. But I swear to God, if I don't land exactly on the 2nd number the next time I randomize, I'm gonna throw it all away and start over."
@@-Danny daaaang
my math teacher: how's the test going?
me: it's going well.
my mind desperately trying to understand the material: 55:07
Relatable asf
quick gotta put the things here and get it ready for use
im 16 and still forget the formula for commission and percents in general 😍
FUCKING YES!
Question: What is the square root of 50 plus 50
answer: 0055aaeefhhilooopqrrssstttuuW
22:58 has to be one of the most insanely chaotic things I’ve ever witnessed
It's like abject chaos and then when you've finally had enough, an inescapable dirge starts tolling the end.
It’s one of the coolest ones here imo
It's called a in-place LSD radix sort
LSD sort is an acurate name
The fact that a Radix sort can be done without comparisons is both utter chaos and yet beautifully intricate lol
23:43 sounds like a sound that builds up tension in a horror game
no idea why but this is one of the funniest videos i have watched in a while like how 24:43 just. slowly fades in
This is the funniest thing I have ever laughed
@@UniqueEnough1616 lmao
im starting to question our humor
Why did I laugh
when the
when the storting mechin
💂♀️
Never before in my life have I seen any form of Bogo sort actually complete its job. This is amazing
There is a universe out there where bogo sort sorts everything first try and no one knows why
@@dinonuggets1805 There is also a universe where Bogosort always succeeds first try, unless the computer is within 12 feet of a raccoon.
When I was in high school, a friend and I coded it up in C to sort a list of length 11, showing intermediate steps. Nearly 20 minutes later, the process was complete! Turns out that we were reseeding the RNG and it caused the same sequence of random numbers to repeat for several iterations
There’s a universe where bogo sorts everything first try, except once, but nobody believes the guy who saw it fail.
To be fair, it was sort of 8 numbers. There are only few hundred possible combinations of 8 elements
19:32 Galaga enemy decent noise.
Oh my gosh. . .
You have opened my mind
Bruh it does sound like it wtf
Lmao it’s exactly that
That’s actually extremely accurate
HOW
1:17 "it shuts its eyes"
I don't even know what I'm doing here in the middle of the night bruh 💀🙏
19:48 sounds like flight of the bumblebee!
As someone with seizures this is very relaxing
Hol up
As someone with epilepsy, LSD sort is a certified convulsion moment
As someone with epilepsy I saw this and said bet
Yep still good on the not seizing part
Ooh. Seems like you've relaxed on the floor really well. The shaking must be therapeutic. /j
30:40 has to be the most satisfying thing ever
In my opinion, LSD Radix looks better.
Heard Pacman midway through.
Learning about the metric measurements be like
@@juicymango8400 cuz i live in australia so like it’s normal here 😭
No
The fact that Bogobogosort was able to sort a list of 6 elements with ""only"" 100 million comparisons is already a miracle and a half.
if drugs had a sound they would sound exactly like this
ok
can somebody verify
@@urbainleverrier1 i am drugs and yes
My name!
- someone who's never taken any form of drugs
somebody use this sounds and make a biblically accurate angels meme
Gotta add in a FEAR NOT somewhere
Mom: "cleaning your room isn't that hard!"
Cleaning my room: 57:57
@@dawidek4267 no
@@dawidek4267 also how did you come to the conclusion that the joke was being disrespecting about their mother
@@dawidek4267 when the joke flew over ten miles above your head
@@dawidek4267 yes because she gave me ptsd
@Dawidek That's enough of that. Cool off.
10:13 finally, a reversal
If you like reversals you'll LOVE 46:05, an entire sort dedicated to flipping the array until it's sorted
@@OutlandishMayhem With a matching name too!
58:25 it's so fast
18:46
That’s gotta be one of the most satisfying ones jeez
The next one ahead of this one, the lazy stable sort is really satisfying as well
@@g.ferreira6745 vdd kk, apesar de eu não fazer ideia do que isso seja, eu gostei kk
@@rcarlosnunesrc eu tbm não sei muito, mas tem a ver com algoritmos q ordenam números bagunçados, cada algoritmo desses tem um jeito diferente de ajeitar
THX Soundtest
Bottom up Merge Sort - 17:00 this is a really close contender. It's such a joy this one from start to finish.
FNF players: yo this slaps, when the full week coming out?
Modders, do your thing. LOL.
yo this slaps, when the full week coming out?
I also want a 8192 key song
@@pepsiman4282 with insta kill notes
@@Migosph and invisible notes
23:00 - Most fun to watch sort (LSD)
Ironically, the sort that most resembles the visuals of an LSD trip is the Iterative Bitonic Sort (illustrated best from 31:13 onwards). If you imagine the white cones as an edge you are looking at on LSD, those edges will often take on a "hairy" fractal effect. It makes me wonder how much of our brain function mirrors mathematical equations, or if the way LSD affects the visual centers of the brain can be modeled mathematically.
"Currently, the most compelling theories of how psychedelics exert their effects is by increasing the complexity of brain activity and moving the system towards a critical point between order and disorder, creating more dynamic and complex patterns of neural activity... physics suggest that as a system organizes towards criticality, it tends to take on a fractal structure."
Me: verifying that I am not a robot
Also me: wow these sorting algorithms are the best videos ever!
8:05 cycle sort is so scary. You can see the triangle coming and there is no scape from it
it also sounds scary
Sorting.exe
THE TRIANGLE APPEARS
omg make it into a horror movie
Triangle Jumpscare
this is the only youtube video i can watch in 4k without it buffering or just straight up freezing
My RUclips may not buffer up but I sure am
@@errandboytv5733 💀
*My favorites based on visuals and sound:*
1:29 very satisfying to watch
17:00 looks somehow like a minimalist design
21:01 + 21:12 What is this sorcery sort
21:21 amazing visuals
23:00 it is literally called LSD, and now I know why, the end sounds like a plane taking off
26:09 much better than comb sort
26:50 sounds like a boiling tea kettle
29:46 looks like increasinly abstract pixel art of distant mountains
46:06 I just like the name, the suspense is too much
55:48 nice.
57:51 funny but still inefficient
*The ones I hate:*
2:59 this one has no right to take so f-ing long in the end
5:56 too much suspense
8:07 weird static sound
9:42 to 11:26 seems really unnecessary to first sort it the opposite way
13:22 I hate it that there is no progress at all for like 20s
24:02 sounds like a big old printer but in bad
49:26 it's already called silly and it lives up to its name...
52:18 WHAT THE HECK stop taking so long (1+ for the sound tho)
56:36 to 57:11 AAAAAAHHH
57:57 WHAT?
Edit: no worries to tell me, I do understand how most of them work by now XD
sus 👀
The last one tho 👁👁
Sus
Just subbed to you 😂😂😂
The sorcery ones are quite simple to explain basically they cheat by knowing what numbers are going to be in the set of numbers and than just put them in place basically I assume in the counting sort 1 the numbers are from 1 to ~16000 so basically since it knows no number is outside of the range it goes to the place the number should be in order and just put it there
genuinely really like watching these videos they help me relax
Parents: what do you want to be when you’re older?
Me: *laughs in algorithm sorter*
i want to be outside iner when i grow up
57:58 Imagine if there is an universe like our but with no possible sorting algorithms but bogo, so people have to use bogo sort each time.
pain.exe
In one multiverse bogo sort works on the first try, making it the fastest sorting algorithm
@@x-fun3149 Jokes on you i use Linux!
25 days later: WHY THE F**K IS IT STILL SORTING
@@cnr_0778 /usr/bin/pain
Quarantine: hey wanna watch an algorithm sort lines from big to small?
Me: yea
*small to big
@@hexerey no big to small
@@gabrielc7861 Big to small would be the tallest lines starting on the left and working their way down. Small to big is starting with the smallest lines on the left and going up.
@@grape_protogen r/woooosh
@@gabrielc7861 what the heck about that is a woosh? I was correcting something that was wrong, and not even wrong in a funny way; just a dumb way. Also, r/foundtheredditor
i like how in cycle sort the sorted array just synthesizes into existence
Me with Epilepsy:
"hm Ill be okay"
Me 10 seconds later:
"not a good idea"
┌(・。・)┘♪┌(・。・)┘♪~(꒪꒳꒪)~🕺🕺💃💃
ARE YOU OK
@@mewatnothin I SECOND THIS QUESTION
@@LoverScratch I THIRD IT
I dont have epilepsy but this still gave me a seizure
Favorites: 30:50 Iterative Bitonic Sort, Sqrtsort - 41:54 , Exchange Bogo Sort - 55:07l
I personally loved the circle one, the sounds were so nice!
Circle sort begins at 3:30 im pretty sure.
Iterative Bitonic Sort was a show off
sqrtsort sounds like a laser gun shooting
What about the ones that “cheat”, like counting sort and pigeonhole sort
42:22 spongebob swearing
So... quarantine affected you huh?
@@snowboi9904 been a shut in 4 life baby ain't nothin changed
@@imsiege understandable have a great day sir
Seshtillirest
What
Winner for when memory is an issue: Shell Sort @4:51
Winner for when memory is no concern: Counting Sort @21:02
"Hey can you sort those 6 boxes?"
BogoBogo: sure.
*A S C E N D*
done.
What time
Nevermind but what the hell
@@JudeOhHecc what time tho
Last one
57:56
21:12
*Snaps finger*
"All in order"
WHAT MAGIC IS THIS!?
And weirdly enough, the start time stamp of the Pigeonhole can be read backwards and it will still be the same.
So, is this the best sort algorithm so far?
That auxiliary array though
@@lemoncitrine7023 only 2 writes per element, that's insane
@@andreasignatiou2003 It seems like it's only useable in certain situations
It can only be used on numbers and it's O(n)
55:48 this one is amazing. It's like it's rotating.
:0
21:12 Bruh this algorythm so good it can sort 10 to the power of six
"huh, pancake sort is crazy but even that wasn't too hard on the eyes. I wonder if the seizure warning was even real-"
57:57
"Oh. The Porygon episode was pretty tame I guess"
It was
whats a porygon
@@greg4515 pokemon
man it wasn't even porygons fault 😞
Bogo sort is bad enough bogo bogo sort can't do six lines under 15 seconds while the flash sort can do it under 15 millise
When it looks sorted but the algorithm is like IM NOT DONE
Comb sort looked like it was patting the array down trying to make sure it was just so.
RUclips: "They will watch anything from this point"
The algorithm:
Let's just show them what they look like from our side.
69 likes, nice.
As someone who enjoys memorizing primary keys on legacy SoR tables to the point they can whiteboard out near-usable SQL… this entire video is very calming to me. :)
“Ahh… no pagination issues. No sharing the processing queue. No read, all write, all right.”