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.
@@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
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
@@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 😓
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.
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
@@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.
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. "
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
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
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
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.
*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
the ones that go from lowest to highest frequencies are interesting because when you get to the middle-high range it starts to sound like a kettle boiling
@@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
Best way I can describe this is that the lines represent numbers. The numbers are being compared and sorted with one another to follow a certain pattern. Then it shuffles again. Although I still have no idea what im talking about and could be dead wrong.
@@pringle-man eh, your opinion. not everyone has such an advanced knowledge of someone like you. oh please, enlighten us since you're so intellectually superior.
@@Naruhiu simple, there is numbers and each line is a number and has a value, this things are the outcome of sorting the number when the lowest is on the left and the highest is on the right, the comparisons is the code comparing 2 valueables, the swaps is... swaping
@@nekrugderzweite8298 the reason is because if it were given the same amount as the better sorting algorithms it would take fucking ages lol, if all of them got the same number of elements to sort the video would be intolerably long
@@grebe2332 The video doesn't even use the same timescale for all sorts. Some sorts only take 60ms and take like 30s of the video, other take a minute, and barely take one of the video.
*I was so impressed by pigeonhole sort until I looked it up lol* For those interested It basically takes each number (x) in a list (L) and puts the number at: L[ x ] In other words, if we had [2, 1, 0, 3] then it would start by putting 2 at the 2nd index in the list: [0, 1, 2, 3] So it only works when the list is the exact same size as the range of your input (I know there's more to it and that you could just use an array of size max(x) but it's still not as cool as I thought 😥)
@Grakata Like if you found the number "10" in a list, then you would put it in the 10th position of that list Now do this for every number in the list. Like if you see "4" next, then put "4" in the 4th position. Next I find "20", so I put it in the 20th position and etc. If you do this for every number, it would just end up sorted without any effort beyond putting the numbers in a position matching their value. Hope this was easier to understand
Comb sort made me chuckle it really was "combing" through that stack to tease out the last little "unsorted" values 😂❤ WTF HOW DID I END UP WATCHING SO MUCH OF THIS! I DON'T EVEN DO ANY SORT OF DATA ANALYTICS OR ALGORITHM CODING?!?!?! Somehow this is just soothing and fascinating to watch ❤👍
It'd be nice for one of these where they're all in the same time base, and same elements... sort them from "least efficient for a significantly random set" vs "most efficient"
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."
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.
@@paulomartins1008 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.
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
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?”
At this point I'm convinced that people make new sorting algorithms just for these visualizations.
puts fork in microwave 22:59
Username moment
@@arcturus4762 😃 what
@@grug2713 But would you
@@arcturus4762 No..?
@@cybercritterowo Y tho
X Æ A-12 first words are so cute
ahahahahha
Underrated
Lol
xii not 12
Very cute
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.
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
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
*_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
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!!
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
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.
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.
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.
Nothing could have prepared me for 9:42
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
"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
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
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 😂
23:56 the most anticlimactic thing ever
fax
Lol 666 reacts
Waka waka
"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
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
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.
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
23:45 *The new THX soundeffect sounds great*
Strong Portal 2 OST vibes
@@Ted_II rightttttttt
Haha plane engine go brr
*ANXIETY*
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.
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
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
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
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.
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.
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 😓
"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.
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
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
my sanity during the day: perfect amazing outstanding
my sanity at 3am: 23:40
Fractured But Comprehendable
Jesus Christ
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
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?
:(
my fave gotta be the gravitational sort at 21:54 no wonder plankton dated a robot
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 :)
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. "
"I'm 13 year old from Atlanta tryin to make outta the hood, these are my best beats"
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.
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 ???
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
Thank you for giving Bogo sort a chance 🙏🏻
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̵̧̛̟̣̳̳̗̪̳̝̞̭͉̍͋͜ͅ.̵̧̧̡̧̼͕̻̻̻̟̿̐
19:48 sounds like flight of the bumblebee!
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 💀
7:59 pacman dying
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
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 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…
somebody use this sounds and make a biblically accurate angels meme
Gotta add in a FEAR NOT somewhere
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
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.
"What is bogosort doing?"
"Its best"
Hes trying.
And then there’s Bogo Bogo Sort
Mining Bitcoin apparently
Bogos binted
@@RHR199X I rember 😀
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
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
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
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
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.
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
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.
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)
*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
23:40 RUclips captions: "Music"
Ah yes, the wonderful ear splitting noise of sorting algorithms
25:26
Foreign
56:40 [laughter]
25:40 um
@@NaroOwO even youtube captions are terrified
@@dimuzicle4225 exactly what i thought
i like how in cycle sort the sorted array just synthesizes into existence
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
💂♀️
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
55:48 this one is amazing. It's like it's rotating.
:0
the ones that go from lowest to highest frequencies are interesting because when you get to the middle-high range it starts to sound like a kettle boiling
"Algorithms are efficient"
Then we have this guys:
49:25
57:56
It’s mind blowing how it takes so long in the last guy to finish 6 blocks!
@@minty_macaron Thats why its called Bogo Bogo
@@giancarloprado8206 tru
Why are you this far in the video?
They are efficient compared to miracle sort. If sorted, then it's good, else wait and check again.
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.
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
23:43 sounds like a sound that builds up tension in a horror game
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
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
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
1:17 "it shuts its eyes"
I don't even know what I'm doing here in the middle of the night bruh 💀🙏
Best way I can describe this is that the lines represent numbers. The numbers are being compared and sorted with one another to follow a certain pattern. Then it shuffles again. Although I still have no idea what im talking about and could be dead wrong.
You got it! The taller the line, the bigger the number.
@@Musicombo Thank you, Im pretty surprised I was able to get that
Congrats!!
@@triptoliscent don’t flatter yourself, it’s extremely obvious -_-
@@pringle-man eh, your opinion. not everyone has such an advanced knowledge of someone like you. oh please, enlighten us since you're so intellectually superior.
As someone who used to code sort routines in assembly (yeah, I'm THAT old) this video brought me great joy.
Damn you're THAT old?
Respect
Wait since you probably have a extreme understanding of this, could I get a dumbed down version of how these work or what they even are?
@@Naruhiu simple, there is numbers and each line is a number and has a value, this things are the outcome of sorting the number when the lowest is on the left and the highest is on the right, the comparisons is the code comparing 2 valueables, the swaps is... swaping
I cant comprehend this. How does this work and what does it do. My brain hurts
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.
Me: verifying that I am not a robot
Also me: wow these sorting algorithms are the best videos ever!
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
i got so excited about how fast gnome sort was until i realized how many fewer numbers it was sorting 😭
Same. I hate it that it are never the same in tje vid. And no reason for that :///
What's never the same?
@@nekrugderzweite8298 the reason is because if it were given the same amount as the better sorting algorithms it would take fucking ages lol, if all of them got the same number of elements to sort the video would be intolerably long
@@grebe2332 its already 59 fuckin minutes i don't think we care anymore
@@grebe2332 The video doesn't even use the same timescale for all sorts. Some sorts only take 60ms and take like 30s of the video, other take a minute, and barely take one of the video.
*I was so impressed by pigeonhole sort until I looked it up lol*
For those interested
It basically takes each number (x) in a list (L) and puts the number at: L[ x ]
In other words, if we had [2, 1, 0, 3] then it would start by putting 2 at the 2nd index in the list:
[0, 1, 2, 3]
So it only works when the list is the exact same size as the range of your input (I know there's more to it and that you could just use an array of size max(x) but it's still not as cool as I thought 😥)
@Grakata Like if you found the number "10" in a list, then you would put it in the 10th position of that list
Now do this for every number in the list. Like if you see "4" next, then put "4" in the 4th position. Next I find "20", so I put it in the 20th position and etc.
If you do this for every number, it would just end up sorted without any effort beyond putting the numbers in a position matching their value. Hope this was easier to understand
@@dethswurl117 i finally understand, thanks man
@@komedi8902 I'm glad, np :)
@@dethswurl117 is spaghet ok
Pizza spaghetti pasta.
Comb sort made me chuckle it really was "combing" through that stack to tease out the last little "unsorted" values 😂❤ WTF HOW DID I END UP WATCHING SO MUCH OF THIS! I DON'T EVEN DO ANY SORT OF DATA ANALYTICS OR ALGORITHM CODING?!?!?! Somehow this is just soothing and fascinating to watch ❤👍
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
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.
23:00 Behold: In-Place LSD Radix Base 10, the god of sounds
23:43 it gets b e t t e r
23:54 Y E S
i dunno, man... i totally heard our robot overlords speaking to us.
22:22 is best sort
When its LSD I hope this doesn't get clear past the censors.
Daft punk stuff going on
Ah yes, the sweet sweet AC hum.
It'd be nice for one of these where they're all in the same time base, and same elements... sort them from "least efficient for a significantly random set" vs "most efficient"
I love how the Bogo Bogo sort, despite having 6 things to sort, takes FOREVER, I can only imagine what horrors come at 8192 numbers, or larger…
It’s a statistic impossibility to be able to Bogo sort 8192 instances
I'm surprised it only took 15s tbh
@@Joetheknight406 15 seconds and 200 million swaps
@@suclox12yearsago56 I mean, it's also statistically impossible for it to shuffle it into the first order it mixed it into.
The algorithm was specifically DESIGNED to not finish until the heat death of the universe...(in nerd language, *NEVER*)
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
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."
genuinely really like watching these videos they help me relax