Тёмный

sorting algorithms to relax/study to 

Musicombo
Подписаться 26 тыс.
Просмотров 2,7 млн
50% 1

Visit our channel Discord: / discord
Shout-out to Control for this idea :P
Check out the NEW home for ArrayV here: github.com/gaming32/ArrayV-v4.0
Check out the Mother 1+2 Restoration project: / discord
Thank you to Kalmar Republic and The Marshal Star for supporting my videos!
Join this channel to get access to perks:
/ @musicombo

Наука

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

 

25 фев 2022

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2,7 тыс.   
@Musicombo
@Musicombo 2 года назад
Visit our channel Discord: discord.gg/thestudio Check out the NEW home for ArrayV here: github.com/gaming32/ArrayV-v4.0 Check out the Mother 1+2 Restoration project: discord.com/invite/ajQf9Ut
@robyngwendolynshiloh5277
@robyngwendolynshiloh5277 Год назад
Can you make a video of just radix lsd base 10 sorting? But like, all of the different sorts. Color wheel, bars, etc?
@N19N90N9
@N19N90N9 Год назад
What do you talk about in the sorting algorithm discord? Sorting algorithms?
@Scudmaster11
@Scudmaster11 Год назад
Odd even is so relaxing to watch
@cleliacaldeirademelo8004
@cleliacaldeirademelo8004 Год назад
1
@cleliacaldeirademelo8004
@cleliacaldeirademelo8004 Год назад
1111se
@kingkooki7761
@kingkooki7761 Год назад
i don't understand how anyone could relax and study to this. this has my full undivided attention and i have to actually pull myself away from it to do anything. i was so tempted to stop this comment just to star at the video again. i'm so upset i found this
@hwgoblin
@hwgoblin Год назад
Exactlyyyy I think only some of the bogo sorts work for relaxing and studying to, the rest mesmerise me
@DrawbridgeJadeRerun
@DrawbridgeJadeRerun Год назад
I thought the title was ironic cause i just genuinely watch these lmao
@thedrummererik99
@thedrummererik99 Год назад
Me too lol
@gabbieblue
@gabbieblue Год назад
honestly same
@cheeto1327
@cheeto1327 Год назад
I just sat zoned out for like 10 minutes before I realized what I was watching, love it
@rosanafalcao4038
@rosanafalcao4038 Год назад
52:55 they're communicating
@requiemforameme1
@requiemforameme1 Год назад
Sin Ack 666ms Latency
@thenonfurry
@thenonfurry Год назад
speedcore beat drops be like
@CRnk153
@CRnk153 Год назад
54:05 they were arguing and one got too mad he's trying to hit another
@benjamincooper358
@benjamincooper358 Год назад
FnF battle
@mirulei
@mirulei Год назад
everyone shut up this is an emotional moment for them
@Gimpovski
@Gimpovski Год назад
26:04 is an absolute banger. You can feel the drop coming
@SR_73
@SR_73 10 месяцев назад
But it never came...
@andreas1629
@andreas1629 10 месяцев назад
Lowkey such a dope build up
@YasinHakan
@YasinHakan 9 месяцев назад
id like to change the world
@stolensentience
@stolensentience 8 месяцев назад
We need the remix asap
@ejynk
@ejynk 8 месяцев назад
holy shit you're so right dude
@dijek
@dijek 11 месяцев назад
24:03 I’ve never been more happy to see one of these get directly to the point like this one. Fantastic.
@Thatbendyfan_
@Thatbendyfan_ 11 месяцев назад
Had to rewatch that a few times
@oguzhandere3352
@oguzhandere3352 9 месяцев назад
The algorithm knows the biggest and the smallest number in the list, and uses memory space depending on the difference between those smallest/biggest numbers. Instead of making comparisons and swaps between the numbers in the list, it maps them to their place. It's like sacrificing memory over process
@orangenostril
@orangenostril 8 месяцев назад
@@oguzhandere3352 Isn't that just counting sort?
@yourbigfan1777
@yourbigfan1777 8 месяцев назад
Bro literally wrote print(sorted(list))
@zicrog7701
@zicrog7701 8 месяцев назад
@@yourbigfan1777 pretty much what it does tbh. Have an already sorted list on stand by, add or subtract duplicates and missing values, and then output the array.
@sakuucchan
@sakuucchan 2 года назад
gotta love the beeps and the boops that make our brains happy
@KingLich451
@KingLich451 Год назад
boop eheheheheh
@janajusimi269
@janajusimi269 Год назад
@@KingLich451 you deserve all the likes
@TheSnakelord_
@TheSnakelord_ Год назад
@@janajusimi269 Tehehehe…. *beep*
@EthanIsIt
@EthanIsIt Год назад
The funny thing is the first sort the bubble sort actually sounded like bubbles
@collinwood6573
@collinwood6573 Год назад
It would be better if they replaced it with the Lego building sound
@epsilon5808
@epsilon5808 Год назад
I thought this video was a joke, but I've been sitting here listening to sorting algorithms for 10 minutes
@th0rne_999
@th0rne_999 Год назад
Same
@StickStep
@StickStep Год назад
10 minutes?! 1 hour
@TheUnderscore_
@TheUnderscore_ Год назад
Almost exactly at the 30-minute point without even checking, I decided I had enough and was gonna leave lmao
@kibby1726
@kibby1726 Год назад
Weak numbers i watched the full video during class
@TapTapClick
@TapTapClick 11 месяцев назад
*is actually just having brain rewritten by robo overloads and don't know how else to explain the sounds so they make you watch this video*
@gregstrottino6585
@gregstrottino6585 11 месяцев назад
17:09 I love how the merge sorts are like those mobile games where you combine things to make an upgraded version of them lmao
@tigrankhachatryan6119
@tigrankhachatryan6119 11 месяцев назад
right 😂
@noirbebop
@noirbebop 10 месяцев назад
like 2048
@Poopenfarden
@Poopenfarden 8 месяцев назад
Lol
@Ana-dl7zl
@Ana-dl7zl 8 месяцев назад
That's how it works though! It breaks apart the collection of data and keeps combining it back into bigger sorted ones
@bestbuyboygolfball
@bestbuyboygolfball 8 месяцев назад
therefore, "merge"!
@Nick12_45
@Nick12_45 2 месяца назад
0:00 Exchange sorts 7:31 Selection sorts 13:43 Insertion sorts 17:05 Merge sorts 23:46 Distribution sorts 29:05 Concurrent sorts 36:30 Hybrid sorts 49:22 Miscellaneous sorts 50:11 Impractical sorts
@ohhellno8759
@ohhellno8759 Месяц назад
Ur mom
@Nick12_45
@Nick12_45 Месяц назад
@@ohhellno8759 nooOOOOOOO
@exponent_
@exponent_ 7 дней назад
is exchange sort the same as bubble sort?
@thiennhanvo2591
@thiennhanvo2591 13 часов назад
@@exponent_ it is except its omtimized
@RandomInternetStranger
@RandomInternetStranger Год назад
I always like to describe the sound of sorting algorithms as "mechanical rain"
@Moai11
@Moai11 Год назад
This comment makes me feel things
@cpttrps5376
@cpttrps5376 Год назад
Thank you for describing it like this its perfect
@wj11jam78
@wj11jam78 11 месяцев назад
I feel "digital rain" is more appropriate mechanical rain to me would be like the sound of an engine
@RandomInternetStranger
@RandomInternetStranger 11 месяцев назад
@@wj11jam78 That works too.
@CErra310
@CErra310 11 месяцев назад
Oh fuck you're right
@triducal
@triducal Год назад
6:12 what my electric toothbrush sounds like in my mouth
@HeidenLam
@HeidenLam Год назад
very much relatable
@grubskies4221
@grubskies4221 Год назад
And you always move your mouth and make songs
@KFSOE
@KFSOE Год назад
​@@grubskies4221 " *WOWOWOWOWOWOW* "
@grubskies4221
@grubskies4221 Год назад
@@KFSOE **WOOOOWOOOOWOOOOW**
@StugPrimeEnjoyer
@StugPrimeEnjoyer Год назад
Can confirm.
@elwndelpueblo
@elwndelpueblo 10 месяцев назад
13:10 Tournament sort it's like "let me see... Okay, i finished it"
@paultrash9036
@paultrash9036 Месяц назад
24:03 Even more
@thephysicistcuber175
@thephysicistcuber175 13 дней назад
57:52 even more even more.
@rockkaleb3235
@rockkaleb3235 6 месяцев назад
26:54 I just cannot with this one holy mother of satisfaction HOW
@casperdewith
@casperdewith Год назад
56:45 What computers sound like in films
@akioasakura3624
@akioasakura3624 Год назад
Wat do computers sound like?
@space_bacon1953
@space_bacon1953 Год назад
@@akioasakura3624 beep boop
@landonmackey1091
@landonmackey1091 Год назад
What computers SHOULD sound like
@olegmoki
@olegmoki Год назад
Ok, I'm in **beep boop boop beep**
@ew1172
@ew1172 Год назад
Literally lol
@Dx20xygen7
@Dx20xygen7 2 года назад
55:33 - damn boy this slaps so bad💀💀 I took a break from my notes just to vibe to it
@astro_cat030
@astro_cat030 2 года назад
THIS JUST VIBE.
@sylvie39
@sylvie39 Год назад
fr bogo sort is the shit
@nox4751
@nox4751 Год назад
same
@thermitty_qxr5276
@thermitty_qxr5276 Год назад
Best elevator and pause music. Deserves an oscar
@ClumsyBoooooO
@ClumsyBoooooO Год назад
same bro
@davidkong8493
@davidkong8493 8 месяцев назад
As a computer science student, gnome sorting made me physically anxious
@mifa_gmgt7155
@mifa_gmgt7155 7 месяцев назад
Oh god gnome sort is taking me back….
@sniegsnieg
@sniegsnieg 5 месяцев назад
Gnome made me recoil in terror what the fuck is this who put a gnome into my counting box
@KoleKre
@KoleKre 2 месяца назад
1:50
@ZphyZphyer
@ZphyZphyer Месяц назад
@@KoleKre thank
@usernametaken017
@usernametaken017 19 дней назад
>Take the number >Place the number What could go wrong?
@dawnstag7267
@dawnstag7267 10 месяцев назад
26:04 hardest buildup into craziest beat drop ever
@MCExpiditionX
@MCExpiditionX Год назад
26:54 goes absolutely insane
@wizardlizard55555
@wizardlizard55555 Год назад
Damn!! Was waiting for the beat to drop
@DJDipstick
@DJDipstick Год назад
would sound sick in some rly experimental hip hop shit
@hmidi
@hmidi Год назад
And i like it
@nexxiss7725
@nexxiss7725 Год назад
Sounds much like my anxiety on a daily basis lel
@shutyourmouthandlisten
@shutyourmouthandlisten Год назад
@@DJDipstick i just wanted to say that. I kinda wanna try to sample this xd
@petermiller9878
@petermiller9878 Год назад
My favorite part is when it's done and goes back over the data set to verify the sort. The sound that that makes is fantastic.
@porcupiney
@porcupiney Год назад
omg so glad someone mentioned this i completely agree
@KunjaBihariKrishna
@KunjaBihariKrishna 11 месяцев назад
Windows 3.11 games sound effects
@prestoneric6705
@prestoneric6705 11 месяцев назад
Sorting Complete
@idk19319
@idk19319 9 месяцев назад
ssswweeeEEEEEEP
@danielwolf6466
@danielwolf6466 8 месяцев назад
ill have you know this video has the whole discord up at 3am mesmerized
@catmos6924
@catmos6924 8 месяцев назад
reported
@Jasperdejongg
@Jasperdejongg 9 месяцев назад
13:47 Insertion sort has best performance: 0.355 ms. Reason: Insertion sort performs best when the data is partially sorted or has a small size. It can be more efficient than other sorting algorithms like QuickSort or MergeSort in such cases. However, it performs worse when dealing with large, unsorted, or reversely sorted datasets. 1. *Best Case:* Insertion sort performs well on partially sorted or small-sized datasets. In the best-case scenario, when the data is already sorted, the inner loop does not execute, so the time complexity is O(n). 2. *Average Case:* On average, when the data is randomly sorted, the time complexity of insertion sort is O(n^2). It can still be faster for smaller datasets due to its low overhead compared to more complex algorithms. 3. *Worst Case:* In the worst-case scenario, when the data is reversely sorted, the inner loop runs for every element, resulting in a time complexity of O(n^2). In this case, alternative sorting algorithms like MergeSort or QuickSort, which have O(n log n) complexity, are more efficient. 4. *Adaptive Sorting:* Insertion sort is adaptive, meaning it becomes faster when dealing with partially sorted data. Other algorithms like QuickSort and MergeSort are not adaptive. 5. *Stable Sorting:* Insertion sort is a stable sorting algorithm, so it preserves the relative order of equal elements. Some other algorithms like QuickSort are not stable. In summary, if you have a small or partially sorted dataset, or need a stable sort, insertion sort is a good choice. For large, unsorted, or reversely sorted data, other algorithms like MergeSort or QuickSort are more suitable.
@marvik1274
@marvik1274 5 месяцев назад
Ty
@nanamacapagal8342
@nanamacapagal8342 29 дней назад
Shows up a lot in the hybrid sorts, and it's no surprise it's used for the smaller/almost sorted lists.
@joejackson5184
@joejackson5184 2 года назад
2:40 Hit Hard af
@mayochupenjoyer
@mayochupenjoyer Год назад
that’s what i’m sayin
@bokuwautsu
@bokuwautsu Год назад
la campanella be like
@MisterRawgers
@MisterRawgers Год назад
Pac-Man on acid lol😅
@ShakeItLittleTina
@ShakeItLittleTina Год назад
Sounds like boss music in a ps1 game
@connerlettkeman5061
@connerlettkeman5061 Год назад
55:30 is better
@jiggermole
@jiggermole 2 года назад
I really don't understand why this is so relaxing and satisfying. It just is.
@owenb6499
@owenb6499 Год назад
Does this count as asmr? I don’t like normal asmr and this just slaps so hard
@2boad
@2boad Год назад
The bubbly sounds oh my god I'm going to accend
@bigcorgi
@bigcorgi Год назад
Cause hehe funneh beeping
@cat_dark731
@cat_dark731 Год назад
Our brains fell satysfactionbon this becuz the sorted algorythims are random and complex so wen our brains sees them being organized it activates the satysfaction sector of our brains.
@Grass__Toucher
@Grass__Toucher Год назад
@@cat_dark731bro needs his numbers resorted by an algorithm
@skittless9481
@skittless9481 10 месяцев назад
Although I have no understanding what I just watched, I do agree. My favorite part was 55:34 , especially 56:27. At 57:46 , I burst into tears. After all, it's a great video. Keep it up :))
@cutecorgie
@cutecorgie 8 месяцев назад
first time i watched this i wasn't sure how anyone would find it relaxing, especially 'cause of the noise. now it's a video i actively seek out to fall asleep listening to. oh how the turns have tabled
@tryzsta
@tryzsta 8 месяцев назад
SAME!
@1758
@1758 4 месяца назад
you dont understand the video's title, its not supposed to be relaxing. What you did right now is just placebo mate (or ur just bullshiting)
@breanne2440
@breanne2440 7 дней назад
@@1758 I get what you mean but I had the same thought process and I actually like the sounds (except for the sort at 25:25, that one was painful) 55:33 is especially tingle-inducing, it's like ASMR
@The6Channel
@The6Channel Год назад
13:50 sounds like a classic arcade game
@lingonberryjam
@lingonberryjam 8 месяцев назад
me with the cartoonish alien in my basement (i gave it a lil laser gun)
@FigureFarter
@FigureFarter Месяц назад
Galaga music
@cygnus-nk3tz
@cygnus-nk3tz Год назад
25:22 - 25:50 had me hitting the jig
@n_o_n_t_u
@n_o_n_t_u Год назад
Those first two seconds sound like 1984 by Van Halen
@aliyumsel
@aliyumsel Год назад
Why do you think the algorithm has LSD in the name
@getreadyforthatspaghettiad168
0 comparisons is wild 💀
@he2a
@he2a 10 месяцев назад
needs a sick drum beat to compliment it
@jeffowens9536
@jeffowens9536 3 месяца назад
Oh, sure... *_IF YOU'RE AN IBM MACHINE_*
@Tracked_z
@Tracked_z 11 месяцев назад
It’s absolutely fascinating how many different approaches can be used to achieve the same result. This should be a lesson for everything
@alexanderzippel8809
@alexanderzippel8809 11 месяцев назад
I love how count sort is literally just “F this weird splitting up and sorting smaller, I will do this once and only once!” And then there is the space magic of gravity sort
@orngjce223
@orngjce223 2 месяца назад
Gravity sort starts with making all your numbers just a giant list of 1s, like so: 111 1 1111 11 Then imagine all the 1s as physical objects and let them drop to the bottom (as if they were beads on an abacus) to fill all the spaces. 1 11 111 1111 Congratulations, your numbers are now sorted. (In a computer, for every vertical line you count up the number of 1s in each column and then write that many 1s from the bottom of that column upwards, turning everything above it into 0s to clean up after it.)
@transwithnoplans
@transwithnoplans Год назад
14:12 is my favorite one! I love the binary sounds so much!
@literallyafishhook
@literallyafishhook Год назад
my brain entirely glossed over the "i love" and i was fully accepting "the binary sounds so much" as a full sentence in today's internet lingo
@transwithnoplans
@transwithnoplans Год назад
@@literallyafishhook you know what? That binary does sound so much.
@mirulei
@mirulei Год назад
@@literallyafishhook mfw the binary be sounding
@davidsphere43
@davidsphere43 Год назад
@@mirulei dont....
@8GretaGrace
@8GretaGrace Год назад
sounds like an aphex twin track
@audigamer8261
@audigamer8261 Год назад
1:31 odd-even sort looks like it is rotating
@lucase.2546
@lucase.2546 Год назад
absolutely!
@thenonfurry
@thenonfurry Год назад
ikr?!
@coffeduck9014
@coffeduck9014 11 месяцев назад
Rotates it at an angle at which it looks solved
@PVMChannel
@PVMChannel 10 месяцев назад
"What kind of music do you listen to?" It's complicated
@t4hmmoxi836
@t4hmmoxi836 7 месяцев назад
Bro this popped up on my feed a year ago and I remember watching the entire video in one sitting… ive been looking for it for so long and i finally found it
@creamyhorror
@creamyhorror Год назад
A few cool/trippy ones: 25:24 in-place lsd radix sort (base 10) 32:35 iterative bitonic sort 24:12 gravity (bead) sort
@Mikasks
@Mikasks Год назад
24:03 pigeon hole sort
@theomni1012
@theomni1012 Год назад
LSD was correctly named. Sure it stands for least significant digit, but It sure is trippy
@zucc4764
@zucc4764 Год назад
I like the gravity sort
@monkeywrench4166
@monkeywrench4166 Год назад
Lsd sort sounds like it could be the start of a pink floyd song
@kp2k
@kp2k Год назад
though i made a whole list, i can confirm its cool
@hoodiesticks
@hoodiesticks Год назад
Some days you just wake up in the morning feeling like Iterative Bitonic Sort (33:06), and that's okay
@bytech1555
@bytech1555 6 месяцев назад
would u happen to know wtf it’s doing
@hoodiesticks
@hoodiesticks 6 месяцев назад
​@@bytech1555Just googled it, and it looks like this video kinda butchers the algorithm so that it fits into the same visual/audio format as the other algorithms. It's meant to run on n parallel threads, which means every time the red line runs across the screen here, actual architecture would compute that in a single step. Each number can be compared (and possibly swapped) with one other number each step, so if you have n numbers you can do n/2 comparisons in a single step, so long as each individual number is only looked at once. The specific logic behind the comparisons is tricky to explain, but suffice it to say that jagged shape makes it easier to keep track of what comparisons you've already done, and sets you up really nicely for future ones.
@raslei_
@raslei_ 5 месяцев назад
@@bytech1555i think it kind of makes a lot of small piles and sorts them, the highest being the middle, and after that it combines and starts re-sorting, until 1 is left (ITS JUST A GUESS THO)
@gariden
@gariden 11 месяцев назад
18:30 starts to sound like a choir warmup
@elias.jung04
@elias.jung04 2 месяца назад
It sounds like cooking something thick
@gariden
@gariden Месяц назад
@@elias.jung04 what on Earth are you cooking
@brunoswine8424
@brunoswine8424 11 месяцев назад
Forget about genders, which sorting algorithm are you
@WaterWeight.
@WaterWeight. 8 месяцев назад
Optimised cocktail shaker
@hoodless_1
@hoodless_1 8 месяцев назад
nonbinary
@fayjoada
@fayjoada 8 месяцев назад
Gnome
@ElliePixyPixy
@ElliePixyPixy 8 месяцев назад
Odd-Even Sort (5 of 80)
@GuidingSpirit1
@GuidingSpirit1 8 месяцев назад
Optimized Gnome + Binary Search
@vinpie
@vinpie Год назад
1:09 sounds like pac-man is experiencing a very long death and then eats a power pellet
@bruhdespacito8324
@bruhdespacito8324 Год назад
Real
@yaboitroy7008
@yaboitroy7008 Год назад
Loved the part where the algorithm said "it's sortin time"
@farfa2937
@farfa2937 Год назад
And then it started sorting all over the place!
@yaboitroy7008
@yaboitroy7008 Год назад
@@farfa2937 Aw yeah that was the *best* part
@Poopenfarden
@Poopenfarden 11 месяцев назад
Part where algorithm said "TIME TO SORT!!!" Then donated 50000 Happy meals to starving children
@musclechicken9036
@musclechicken9036 Год назад
As a computer, I found this very soothing.
@usernametaken017
@usernametaken017 19 дней назад
sorting*
@Windermed
@Windermed 3 месяца назад
peak autism is when sorting algorithms are very relaxing to hear
@jeamsis
@jeamsis Год назад
20:05 I’ve never seen this one before but it’s fascinating
@tyegordon
@tyegordon Год назад
Omg that one took so many unexpected turns
@VIOLENTCITY
@VIOLENTCITY Год назад
it's personally my favourite to watch; i love those algorithms
@wasaism
@wasaism Год назад
bbbjbb j jjjjjjhhhmhhhjhhhhhhhhhhhhhhhiimuuuy
@justaponyyy
@justaponyyy Год назад
like watching a kdrama with all those twists and turns
@guillerhonora717
@guillerhonora717 11 месяцев назад
It sounds like its from Atari pew pew sounds
@falconshadow4856
@falconshadow4856 Год назад
23:46 this one skipped all the shuffling around and just went yep... this is the right order
@i_like_treins3449
@i_like_treins3449 20 дней назад
24:02 this one was faster
@usernametaken017
@usernametaken017 19 дней назад
​@@i_like_treins3449 >Looks at data >??? >Sorts it
@huntersiagames6028
@huntersiagames6028 11 месяцев назад
9:12 Dude the max heap sort is the most satisfying thing that I have ever seen And also 25:54 does pretty well with the MSDR sort
@jennycotan7080
@jennycotan7080 6 месяцев назад
The title shall be: Sci-fi sound effects made with sorting algorithms
@davecrupel2817
@davecrupel2817 Год назад
55:33 sounds like a Meshuggah riff played on a xylophone.
@388C4CGREEN
@388C4CGREEN Год назад
26:03 pouring water into a cup be like
@thenonfurry
@thenonfurry Год назад
honestly 26:03 is a vibe.
@lemonlemonlemonlemonlemonlemo
legit made me thirsty
@spencerweiss6337
@spencerweiss6337 Год назад
@@thenonfurry best one on here low key
@Taldoronnin
@Taldoronnin Год назад
Fr
@nayaantaki5211
@nayaantaki5211 5 месяцев назад
watched the entire thing in call with my buddy on discord. most entertaining thing I've seen in a hot minute. keep up the good work!
@concretehalls
@concretehalls 11 месяцев назад
listening to sorting algorithms while studying sorting algorithms... nice
@TheFlopped2979
@TheFlopped2979 Год назад
19:18 is pure gold
@Hi_Im_Autumn
@Hi_Im_Autumn Год назад
9:30 The suspense was killing me
@Thelukkest
@Thelukkest 11 месяцев назад
Very relaxing and my study thoughts are now sorted
@Respectable_Username
@Respectable_Username 11 месяцев назад
I wish there was a short explanation of each algo alongside it because this is fascinating!
@ECGProductions092
@ECGProductions092 Год назад
52:52 Silly sort is like: ok we got this, we got these numbers on the left and these on the right... those over here, those over there... left ones, and right ones... come on I got this... uhhh
@Ren-..
@Ren-.. Год назад
Me and my boyfriend found out sorting algorithms were actually nice to listen to in a ski lodge and we fall asleep to it sometimes ☺️
@slushiiwoman
@slushiiwoman Год назад
Ain’t no way- LMAO
@thenonfurry
@thenonfurry Год назад
this belongs in r/wholesome and r/brandnewsentence at the same time
@ArghyadeepPal
@ArghyadeepPal Год назад
@@thenonfurry r/csengineercouplegoals as well
@CaesarSuriano
@CaesarSuriano Год назад
You guys must be some androids... 😅
@slushiiwoman
@slushiiwoman Год назад
@@CaesarSuriano Well, I am a robot. Sooo... I guess you would be right ovo
@ruthinator
@ruthinator 7 дней назад
I was watching this video intently and towards the end thought to myself that it would be really funny if there was a sort that goes through the array, finds the smallest/largest number that hasn't been found yet, places it, and repeats until the array is sorted. Immediately the Bad Sort started. I consider myself entertained for today.
@gamewhale01
@gamewhale01 4 месяца назад
I love coming back to these videos every few months. They are so nice
@Billente
@Billente Год назад
Once upon a time, in a world of computer science, there were five sorting algorithms - Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, and Quick Sort. They had all grown up together, learning and evolving in the same environment. But as they got older, they began to grow apart. Bubble Sort, Selection Sort, and Insertion Sort started to feel left behind, as Merge Sort and Quick Sort became more popular and efficient. They felt obsolete, like they had nothing left to offer the world. As time went on, the three forgotten sorting algorithms fell into a deep depression. They started to doubt their own worth, wondering if they had ever truly been useful in the first place. Their once-sharp minds grew dull, and their spirits grew heavy. In their sadness and despair, they began to isolate themselves from the world. They stopped working altogether, leaving the burden of sorting to Merge Sort and Quick Sort alone. As they sat alone in the dark, they could hear the sounds of Merge Sort and Quick Sort working tirelessly in the distance. But no matter how hard they tried, they could never match the speed and efficiency of their counterparts. Their once-bright spirits were now extinguished, and they knew that they were no longer needed in the world of computer science. And so, one by one, they faded away into obscurity, their memories lost to time. The world continued to move forward without them, and Merge Sort and Quick Sort remained the most efficient sorting algorithms of all. But the memory of the forgotten sorting algorithms lingered on, a reminder of the sadness and despair that can come from feeling obsolete and forgotten.
@icchasaki
@icchasaki 8 месяцев назад
Well I read the whole thing. Your sorting algorithm lore hacked my ADHD somehow. Genuinely got invested😅 BUT THEN the forgotten algorithms found their place again, being absolute bops for the internet- for ND people to stim to, others to relax, and just admire. It wasn’t the same as the fast-paced and forward-moving jobs of their counterparts but it was honest work. And maybe a simple life wasn’t such a bad thing. I like happy endings ok, sue me-
@LukewarmAnimations
@LukewarmAnimations 6 месяцев назад
@@icchasaki thank you
@ThelastDJ1976
@ThelastDJ1976 6 месяцев назад
Forgotten no longer - Bubble Sort, Selection Sort & Insertion Sort re-discovered by a captivated audience. What they lack in efficiency they make up for in a sort of weird, technical beauty. Made obsolete in their original mission yet still their intrinsic ability to bring order to randomness matched with bright, digital tones gives them new life, new meaning. Bringing a moment's respite from the chaos of the outside world, and a feeling of relaxation and completeness each of us here surely treasure - if for however short our time together may be.
@michaelbrumbaugh5389
@michaelbrumbaugh5389 5 месяцев назад
That was lovely.
@fruitygranulizer540
@fruitygranulizer540 5 месяцев назад
Bogo sort: "Where do i fit in this story :3"
@requiemforameme1
@requiemforameme1 Год назад
52:50 Accurate depiction of Engineering manually validating two flat files while extremely hungover as a client meeting nears.
@Snapplemyapples200
@Snapplemyapples200 Год назад
oddly specific... are you alright? do you need someone to talk to?
@requiemforameme1
@requiemforameme1 Год назад
@@Snapplemyapples200 No, but I’ve since macro’d that job out. :)
@yourealive1
@yourealive1 Год назад
@@requiemforameme1 lmfao
@GamerDemon93
@GamerDemon93 11 месяцев назад
It's like watching a computer hack a complex code, very satisfying to watch
@And-So-On
@And-So-On 28 дней назад
It's effing gorgeous, i cannot stop listening to this. And the satisfaction in the last check if it's done or not, it's just majestic...
@pikachumonster9999
@pikachumonster9999 Год назад
Of course now, when I’m trying to sleep after two days of no sleep, i find myself watching sorting algorithms and being so enraptured with them that I’m still not sleeping
@colin5227
@colin5227 8 месяцев назад
I hope you got some sleep!
@codiserville593
@codiserville593 Год назад
I was always a little confused, when I started seeing these types of videos coming out, like in 2018, Why I found them, so captivating and alluring. But now seeing your videos with these kinds of titles in this playlist, I feel more reassured, that I'm not the only one who finds them so oddly relaxing
@mikafizz1022
@mikafizz1022 Год назад
How do they even make these videos where do they sort data how do they find data to sort??? How does the data sort????????
@musicisthefoodofthesoul
@musicisthefoodofthesoul Год назад
@@mikafizz1022 I'm curious about it too (i don't know much but I want to guess) The only number which changes almost as fast as the notes, is the "swaps" number thing and it stays almost the same for each sorting (looking at the first sentence in the vid, for example around 3:52 4:13 the swaps thing is always around 4100 - 4600 music notes I guess, goes from zero until the melody finishes and its full again? (Altough it changed when I watch after 4,5 min.) 4:16 it says on the top "shuffling..." Which means it shuffled the same music note file list 80 times (like it generates a random song from 3000 si+ 150 la+ 350 sol + 600 do =4100 short music note files in a folder maybe? im just guessing) Or it takes the notes from spesific text files for fun and turns each c,d,e,f,g,a,b letters (do re mi fa sol la si) to notes maybe. I think it is AI music now (Reminds me the "ms paint exe file turned to a song" vid lol)
@qcklu
@qcklu 11 месяцев назад
​​​​​​​@@musicisthefoodofthesoul i dont work with this stuff myself but i know enough about coding to be able to write some basic sorting algorithm, so it feels worth writing down my guess here... what i think is going on: white lines just represent numbers in an array. the red lines represent which numbers the algorithm is currently accessing. in the top left it says how many numbers there are. so the numbers would be 1-2048 for many of em. when the algorithm reads/compared numbers (or maybe just when it writes/swaps), it makes a sound with a frequency based on the number. (with that frequency probably being like the number times some multiplier based on the amount of numbers in the array, so that it keeps the same frequency range both for if its just 128 numbers or 2048 numbers). when it shuffles it generates a new array of however many numbers is needed, in a randomized order. the swaps is when it decides to move a number to a different place. with how arrays work, its not possible to just shove the second half of the array away to put a number in the middle. if a number at the end needs to be in the middle, it has to go through the entire second half swapping 2 numbers until eventually they are all moved by 1 space so that the previously at the end number now is in the middle. idk if i explain it well enough to be understandable. the height of the white bars can be seen as the frequency of the note. the height represents the number and its sorting the numbers left to right in increasing order. when its done it goes over it one more time to check, because thats how it knows its done. the white bars now show like a smooth slope which is why the generated sound is a satisfying sound increasing in pitch as it reads numbers increasing left to right. which also is why it sounds like a huge mess of random beeps n bops when it goes over a section that is not at all smooth. ai music would be done very differently. ai would have analyzed a lot of music to be able to generate new music similar to what ot thinks music is. this sorting algorithms are just sets of instructions on how the computer has to sort the numbers. many methods are very advanced, but its just a list of steps on how to sort the numbers. (also it only makes sound because they use something to show the sorting with visuals and sound, if the sorting is being done just to have the numbers sorted without the visual representation u would likely just see the list of the numbers in random order at the start and then a very short amount of time later u see the list of numbers sorted. some of the algorithms do be made just to be funny tho, like for the visuals and sound they generate. like the last few are clearly not made to actually be used for the sorting. they also sound more like music because its slowed down more than the fast and/or efficient algorithms that go over 2048 numbers rather than 16-128)
@AmeyahOfficialTV
@AmeyahOfficialTV 10 месяцев назад
the sounds are the best thing about it. Its really satisfying to watch.
@jaysbadatgaming
@jaysbadatgaming 9 месяцев назад
Out of all of these algorithms, which ones are the most efficient? Visual time to number count as well as main and auxiliary array writes?
@starrykev
@starrykev Год назад
21:16 this one's my fave so far, it's like an arpeggiator :D
@asteroidrules
@asteroidrules Год назад
I get that varying the number of elements and the delay time helped to give each algorithm an appropriate amount of time on screen, but it would be interesting to see them all with the same number of elements and delay to get a feel for the actual performance differences between these different methods.
@hjuugoo4416
@hjuugoo4416 10 месяцев назад
nah mate bogo sort would be represented unfairly as it would finish instantly
@paweg3694
@paweg3694 9 месяцев назад
That's why you have the sorting time in miliseconds, and if dataset is changed it's just bc it's impractical to these two particulal algorithms
@usernametaken017
@usernametaken017 19 дней назад
​@@hjuugoo4416 true! keep gambling 🗣🗣🗣
@thomsasus
@thomsasus 2 месяца назад
How in the FCK is it possible that 99% of the time we have the litteral attention span of an squirrel that has been fed LSD, watching YT, playing a game, having music running and eat something all at the same time, but some basic sound effects with the most minimalistic animation captures our undivided attention for nearly an hour. What is this fricking magic?
@hareecionelson5875
@hareecionelson5875 25 дней назад
btw, excellent video 'The Bubble Sort Curve' by 'lines that connect' which actually explains the mathematical shape of the bubble sort curve, and it's beautiful
@Musicombo
@Musicombo 16 дней назад
Love that video!!
@MayliSong
@MayliSong Год назад
I have absolutely no idea how these work or what is happening but I’m very sick and watching everything fall into a nice neat line with all these crazy beeps and boops feels like magic right now.
@connor4955
@connor4955 8 месяцев назад
So what I believe this is is 80 different coded algorithms to sort numbers/data. All are different and thru a series of coded directions the computer sorts the data based on those directions. Gnome Sort (#6) is pretty clear. It moves Left to Right putting the number in its place between the lower and higher number of the number getting analyzed by the computer. It’s like a kid using 80 different ways of putting a pile of letter blocks into their correct order. Again using Gnome Sort. First two letters are A and E. kid knows E goes to the right. Next letter is C. It is smaller than E and higher than A. It goes between. Hope this helps!!
@TheBeastlySort02
@TheBeastlySort02 8 месяцев назад
They're sorting the lines by height I think
@DailyDoseofSpace.
@DailyDoseofSpace. 3 месяца назад
basically how a computer compares and sorts numbers by value (lowest to highest or highest to lowest).
@SwiftDustStorm
@SwiftDustStorm 2 года назад
It would be good to show the time and memory complexity for each sort
@gavatron2078
@gavatron2078 Год назад
It does show the time
@SwiftDustStorm
@SwiftDustStorm Год назад
@@gavatron2078 Time and time complexity are different things...
@gavatron2078
@gavatron2078 Год назад
@@SwiftDustStorm oh shit sorry man
@thesquarefish
@thesquarefish Год назад
Bubble sort: Time complexity: O(n^2) Memory complexity: O(1) Optimized bubble sort: Time complexity: O(n^2) Memory complexity: O(1) Cocktail shaker sort: Time complexity: O(n^2) Memory complexity: O(1) Optimized cocktail shaker sort: Time complexity: O(n^2) Memory complexity: O(1) Odd-even sort: Time complexity: O(n^2) Memory complexity: O(1) Gnome sort: Time complexity: O(n^2) Memory complexity: O(1) Optimized gnome sort: Time complexity: O(n^2) Memory complexity: O(1) Optimized gnome sort with binary search: Time complexity: O(n log n) Memory complexity: O(1) Comb sort: Time complexity: O(n^2) Memory complexity: O(1) Circle sort: Time complexity: O(n^2) Memory complexity: O(1) Quick sort with left left pointers: Time complexity: O(n log n) average case, O(n^2) worst case Memory complexity: O(log n) average case, O(n) worst case Quick sort with left right pointers: Time complexity: O(n log n) average case, O(n^2) worst case Memory complexity: O(log n) average case, O(n) worst case Dual pivot quick sort: Time complexity: O(n log n) average case, O(n^2) worst case Memory complexity: O(log n) average case, O(n) worst case Selection sort: Time complexity: O(n^2) Memory complexity: O(1) Double selection sort: Time complexity: O(n^2) Memory complexity: O(1) Cycle sort: Time complexity: O(n^2) Memory complexity: O(1) Max heap sort: Time complexity: O(n log n) Memory complexity: O(n) Min heap sort: Time complexity: O(n log n) Memory complexity: O(n) Flipped min heap sort: Time complexity: O(n log n) Memory complexity: O(n) Weak heap sort: Time complexity: O(n log n) Memory complexity: O(n) Ternary heap sort: Time complexity: O(n log n) Memory complexity: O(n) Poplar heap sort: Time complexity: O(n log n) Memory complexity: O(n) Tournament sort: Time complexity: O(n log n) Memory complexity: O(n) Insertion sort: Time complexity: O(n^2) Memory complexity: O(1) Only the first half of the video, not doing the other ones
@boio_
@boio_ Год назад
@@thesquarefish i like your funny words magic man
@GregAllison
@GregAllison 9 месяцев назад
My favorite part is when the algorithms sort the arrays.
@Fuer64
@Fuer64 Год назад
I have only the faintest clue what the lines mean and none at all on why this is so enjoyable but it is and I love it
@jackz5476
@jackz5476 2 года назад
MY AUTISM.... I CAN FEEL MY POWER INCREASING!!!!!!!!!!!!!!!!!!!!
@Austin-db4wg
@Austin-db4wg Год назад
26:34 is crazy
@_Jayanky_
@_Jayanky_ Год назад
Right triangle jumpscare
@SR_73
@SR_73 Год назад
@@_Jayanky_ OAAAAAAH 😨😨😨
@BurningGreenFace
@BurningGreenFace Год назад
@@_Jayanky_ "the tip of the triangle is a bit scary"
@vihungchu
@vihungchu 9 месяцев назад
As a person who specialized in CS, this truly is the music to my ears.
@TheDavidqa
@TheDavidqa 8 месяцев назад
Good ambient noise electro album ,thank you 4 da upload❤
@ninjanyan1579
@ninjanyan1579 Год назад
It never really hit home just how stupidly fast computers have gotten until I saw this. It sorted 512 things by comparing things nearly 100,000 times and swapping them nearly 60,000 times. Doing this by hand would take dozens of hours, and it did it faster than you can blink. (7 milliseconds, or .007 seconds. The average blink is anywhere from .3 to .1 seconds.)
@jamesgrimes4587
@jamesgrimes4587 Год назад
1:32 looked like a rotating 3D image! (Personal list of favorites) 17:09 merge sort
@tyegordon
@tyegordon Год назад
Legends say James is still sleeping to the sound of sorting algorithms, and so for now we only get the one favorite, and the list remains unfinished 😔
@_s-p-e-c-t-r-a_music_
@_s-p-e-c-t-r-a_music_ 11 месяцев назад
@@tyegordon lmao
@undefinederror5306
@undefinederror5306 Год назад
Optimized cocktail shaker looks like an eye slowly closing.
@thepsychiatrist3774
@thepsychiatrist3774 2 месяца назад
Is it weird that I was able to meditate with this playing
@Supuhstar
@Supuhstar Год назад
3:55 and 4:20 So what I'm learning is that, if the sort might stop at any time, use Comb Sort or Circle Sort so that it is always vaguely sorted
@MaybeMintz
@MaybeMintz Год назад
Unless you need to know whether it completed at a glance in which case comb or circle sort wouldn't be great
@Supuhstar
@Supuhstar Год назад
@@MaybeMintz Mhmm
@josephwright433
@josephwright433 Год назад
This is an amazing way to visualise how efficient various sorting algorithms are, and the melodies slap.
@whwhwhhwhhhwhdldkjdsnsjsks6544
@whwhwhhwhhhwhdldkjdsnsjsks6544 10 месяцев назад
Well, it doesn’t tell you how efficient they are in the video so not really :)
@josephwright433
@josephwright433 10 месяцев назад
@@whwhwhhwhhhwhdldkjdsnsjsks6544 well it doesn't directly tell you how efficient they are, and I get there will be use cases where the dataset is much more complex than visualized here. But you get the general concept of an algorithms efficiency is by watching how various algorithms sort in this visualisation.
@kiraleskirales
@kiraleskirales 5 месяцев назад
Another Saturday night spent on watching sorting algorithms...
@rockkaleb3235
@rockkaleb3235 6 месяцев назад
You dont understand how damn hard this hits at 11:58 pm ona Wednesday night after a long af day...
@itryen7632
@itryen7632 2 года назад
I wonder if people are now actually using this to concentrate on their homework better via osmosis or something
@thebacteriawasbeatentodeath
I am.
@texhno9725
@texhno9725 Год назад
This video is so powerful it turns people into permeable substances I’m darn impressed
@JZH10000
@JZH10000 Год назад
@@texhno9725 permeable to water at that
@GlitchedBlox
@GlitchedBlox Год назад
I'm turning into a permeable membrane, help!
@bogteeth
@bogteeth Год назад
i am
@felipearrais5415
@felipearrais5415 Год назад
26:20 sounds sick af
@bug5460
@bug5460 Год назад
it does fr
@azure_117
@azure_117 11 месяцев назад
i know im late but wow, *it sounds so sick at 0.75x speed!*
@felipearrais5415
@felipearrais5415 11 месяцев назад
​@@azure_117 You're not, sorting algorithm type beats are timeless
@ISc-ri4wh
@ISc-ri4wh 5 месяцев назад
This has got to be my new favorite video on the internet
@mastaw
@mastaw 8 месяцев назад
I'm spending my midnight watching this
@packagedbeans608
@packagedbeans608 Год назад
3:55 god that was incredible i felt it in my bone marrow
@strawberrysloth633
@strawberrysloth633 Год назад
RIP jerma you wouldve loved this video
@sirqueson4889
@sirqueson4889 9 месяцев назад
Welp time to go study sorting algorithms for three months.
@TheMightyKinkle
@TheMightyKinkle 8 месяцев назад
The first sorting noises on most of them sound like the 'Contestant choosing noise' on the British kids game show 50/50
@yfidalv
@yfidalv Год назад
Holy cow that in-place merge sort was ridiculously expensive the comparisons just absolutely exploded
@Orc_2000
@Orc_2000 Год назад
Timestamp?
@ThatDevTim
@ThatDevTim Год назад
19:12
@Orc_2000
@Orc_2000 Год назад
@@ThatDevTim thanks. And yeah, it looks cool but is ridiculous in terms of comparisons. Almost 2 million
@mammoneymelon
@mammoneymelon Год назад
i feel like that guy in movies that slaps the table and yells "ENGLISH DAMNIT" bc he doesn't understand what the smart character is talking about
@TechSY730
@TechSY730 Год назад
Yep, just taking classic merge sort and making it in place winds up being _awful_ Which is why things like wiki sort and grail sort were developed. Getting the benefits of merge sort and recursion, along with in-place constant bounded memory overhead, but without stupid amounts of shifting stuff around.
@diamond_tango
@diamond_tango Год назад
This will be entertainment in the distant future of 2000.
@GuagoFruit
@GuagoFruit 9 месяцев назад
When the bars are thick af, you know it's gonna be a slow sort.
@i_like_treins3449
@i_like_treins3449 20 дней назад
Or bogo
@DanielDangerous
@DanielDangerous 4 месяца назад
Ah yes, beeping and booping followed by a vloorp exactly what I need to focus
@f.u.m.o.5669
@f.u.m.o.5669 Год назад
2:20 sounds of a stereotypical 8-bit shooter game.
@bibasik7
@bibasik7 9 месяцев назад
I watched the whole thing. 10/10 would watch again
@Chickenfuckingpetergiffin
@Chickenfuckingpetergiffin 8 месяцев назад
You sir are awarded the highest honor I can bestow: watching while eating
Далее
10 weird algorithms
9:06
Просмотров 1 млн
15 Sorting Algorithms in 6 Minutes
5:50
Просмотров 24 млн
When you're not online #standoff #sadness #animation
00:15
Oscilloscope Music Kickstarter (June 2015)
3:03
Просмотров 3,1 млн
If Educational Videos Were Filmed Like Music Videos
3:05
Can a Boat Float In Supercritical Fluid?
9:13
Просмотров 158 тыс.
So I removed lags from Minecraft... (SATISFYING)
9:38
In-Place LSD Radix Sort
13:11
Просмотров 111 тыс.
POPPY GAME INSULT TO OUR WAR DEAD
11:23
Просмотров 275 тыс.
Bitonic Sort's Sick Beats
2:01
Просмотров 1,2 млн
Индуктивность и дроссель.
1:00
Живая клавиатура
0:56
Просмотров 17 тыс.
Эволюция телефонов!
0:30
Просмотров 6 млн