Obscure Sorting Algorithms

  Рет қаралды 700,577

Sorting Stuff

Sorting Stuff

Күн бұрын

Пікірлер: 941
@giffkeplen2951
@giffkeplen2951 4 жыл бұрын
Gotta love that pancake is so inefficient that you had to drastically lower the amount of items.
@Markomilicic012
@Markomilicic012 2 жыл бұрын
oloz
@NikosChickenBurger
@NikosChickenBurger 2 жыл бұрын
😂😂😂
@Beckysantti
@Beckysantti 2 жыл бұрын
It’s like bogo sort but it actually sorts😂😂😂😂😂😂
@NikosChickenBurger
@NikosChickenBurger 2 жыл бұрын
Lol
@capoeiraturtle3268
@capoeiraturtle3268 2 жыл бұрын
Come in crazy
@henry6136
@henry6136 5 жыл бұрын
Pigeonhole sort: Step 1: look at it Step 2: look at it again Step 3: FOOSH Step 4: profit
@nathanzotov1160
@nathanzotov1160 4 жыл бұрын
thats counting sort
@ouch9841
@ouch9841 4 жыл бұрын
@@nathanzotov1160 Ikr.
@ProTheRobloxer
@ProTheRobloxer Жыл бұрын
@@nathanzotov1160counting sort examines the array 5 times instead of 2
@bitonic589
@bitonic589 4 ай бұрын
@@ProTheRobloxer no?? counting sort finds the min in one pass, max in one pass, and finds duplicates in the third pass. that's 3 passes not 5
@haha-windows11laptopgo-brrrrrr
@haha-windows11laptopgo-brrrrrr Ай бұрын
Counting sort examines the array​ 3 times, not 2* @@ProTheRobloxer
@BrutuxMusic
@BrutuxMusic 4 жыл бұрын
Apparently the pidgeon hole sorting works so well here because it works best when the number of elements is similar to the number of unique elements. Since all elements in these examples are unique, the algorithm works fantastic.
@TheEmolano
@TheEmolano 2 жыл бұрын
Unique values and using all intervals, the pigeonhole is the perfect sort. Twist it a little by adding chaining and now you have bucket sort. Twist it a little more and you have radixsort LSD. But the reality is that radix came first, then came the others that applied it's logic.
@frostythesnowmanlol
@frostythesnowmanlol 2 жыл бұрын
Pidgeon hole and gravity sorts are both literally witchcraft
@alganpokemon905
@alganpokemon905 2 жыл бұрын
So u can just edit your data to remove duplicates and then add them back at the end???? Makimg pigeonhole the most OP algorithm???
@CiuccioeCorraz
@CiuccioeCorraz 2 жыл бұрын
Ah, um... Yeah. I just read how it works and it's pretty clear and underwhelmingly trivial why it works so well with an array of N elements containing exactly one copy of every number between 1 and N. With a few extra steps, you're basically deleting whatever is held in slot 1 and writing in 1, deleting whatever is held in slot 2 and writing in 2, et cetrra.
@ImXyper
@ImXyper 2 жыл бұрын
wrote it in python a = [3,5,1,4,2] def pidgeonhole(list): c = 999 for i in list: if i < c: c = i b = [0]*c for i in list: b[i] = i list = [i for i in b if i != 0] print(pidgeonhole(a)) im not even sure if it works
@brettjc0483
@brettjc0483 4 жыл бұрын
What I learned: Strange noise Kinda strange noise woooooOOOOOOOOP now it’s sorted
@SoupEarthOfficial
@SoupEarthOfficial 3 жыл бұрын
Cocktail merge sort: 1. Shake 1 fourth until it’s correct 2. Merge them Flash sort: 1. Examine the deck 2. ??? Gravity sort: 1. Look at the deck 2. Paint it red Hybrid sort: 1. Make a very rough stair case 2. Make each stair pointy 3. Merge the stairs Odd-even merge sort: 1. Make some spikes 2. Merge them 3. Use sand paper to smooth it out Pancake sort: 1. Build a slope from the top with some weird peices Pidgeon-hole sort: 1. Look at the arrangement 2. Do it again 3. Done Radix LSD in place 1. Look at the deck 2. Summon the dark lord
@synexiasaturnds727yearsago7
@synexiasaturnds727yearsago7 2 жыл бұрын
Radix LSD in place: 1. Look at the deck 2. Summon the dark lord 3. Delete him with lasers
@geckwwo
@geckwwo 2 жыл бұрын
Have you heard Radix LSD In-Place Base10?
@oldwateristic
@oldwateristic 2 жыл бұрын
flash sort 1 look at deck 2 make a triangle use 3 use le sand paper
@Davidpoland2005
@Davidpoland2005 2 жыл бұрын
i like your description for gravity sort
@39sankyuu
@39sankyuu 2 жыл бұрын
radix sort basically sorts the numbers based on the most consequential digit (the digit with the highest value), and then sorts the numbers again based on the second-most consequential digit, and so forth until it is sorted.
@AtaSancaktar
@AtaSancaktar 6 жыл бұрын
Gravity sort is black magic: it is like "let there be sort!" and sort
@dm2060
@dm2060 6 жыл бұрын
Gravity sort is actually a very inefficient way of going about it though
@kurtka8720
@kurtka8720 6 жыл бұрын
kzbin.info/www/bejne/g5_IeZWLjd5-fsk
@JiMMy-xd8nu
@JiMMy-xd8nu 4 жыл бұрын
what about pigeonhole sort?
@Julian_H
@Julian_H 3 жыл бұрын
@@JiMMy-xd8nu pigeonhole sort and counting sort are actually the fastest sorting algorithms, but require massive amounts of ram in most circumstances. If you have a small range of data (like numbers 1-10) then it's the best option.
@JiMMy-xd8nu
@JiMMy-xd8nu 3 жыл бұрын
@@Julian_H Thanks
@toddkes5890
@toddkes5890 2 жыл бұрын
Another sorting routine that runs in O(n) time: Stalinsort. It goes through the list one element at a time, and if the next element is not in sorted order it deletes that element. You are left with a sorted (and much shorter) list
@kyrize4269
@kyrize4269 2 жыл бұрын
🤣
@Lentryoh
@Lentryoh 2 жыл бұрын
This sounds cool
@CFEF44AB1399978B0011
@CFEF44AB1399978B0011 Жыл бұрын
We could have mao sort. Step one: Iterate an item. 2: Set the value of the item to 0. Step 3: Any items that can't be set to 0 get deleted.
@kkumar2618
@kkumar2618 Жыл бұрын
Better send every element which is not sorted to the gulag
@platinummyrr
@platinummyrr Жыл бұрын
Doesn't that depend on what kind of data structure you have and that it has O(1) delete time?
@jorgesaxon3781
@jorgesaxon3781 2 жыл бұрын
Sorting algorithm idea: fluid sort. 1. Make a fluid simulation 2.Make unmixable fluids (like oil and water) for each item you want to sort 3.Set the density of each fluid equal to the value of the item 4.put all of them in a container 5. Simulate the liquids untill they form layers 6. Bam! You sorted the items!
@kuratse205
@kuratse205 2 жыл бұрын
7. Realise that simulating liquids is more intensive and time consuming
@cmyk8964
@cmyk8964 2 жыл бұрын
the answer to the question “what if bubble sort were even less practical”
@zaydabbas1609
@zaydabbas1609 2 жыл бұрын
Ah yes the O(n^69) algorithm finally
@kuratse205
@kuratse205 2 жыл бұрын
@@zaydabbas1609 its probably O(n^morb)
@wrennybih
@wrennybih 2 жыл бұрын
oh my god
@2kthrills168
@2kthrills168 5 жыл бұрын
3:58 My kindergarten class when I "accidentally" curse
@itsfadixx
@itsfadixx 4 жыл бұрын
what a bitches dud
@_xndr7027
@_xndr7027 4 жыл бұрын
@@itsfadixx imagine calling fictional kindergarteners bitches. lol
@MayOrMayNot06
@MayOrMayNot06 4 жыл бұрын
@@_xndr7027 in all fairness, they were bitches
@qpol
@qpol 4 жыл бұрын
@@MayOrMayNot06 they were _pussies_
@sans1331
@sans1331 2 жыл бұрын
“4 replies.” “Can i see them?” “no”
@OfficiallySnek
@OfficiallySnek 2 жыл бұрын
What did I just watch? All I got out of this was a couple of minutes of some cool sounds and some bars that align themselves to make a stair
@OhWaker
@OhWaker 7 жыл бұрын
Gravity sort is some spooky stuff.
@Aashishkebab
@Aashishkebab 6 жыл бұрын
Oh Waker It's actually quite slow in practice though.
@sortingstuff6357
@sortingstuff6357 6 жыл бұрын
The time it takes is solely based on the sum of all the numbers inputted.
@kurtka8720
@kurtka8720 6 жыл бұрын
kzbin.info/www/bejne/g5_IeZWLjd5-fsk
@moahammad1mohammad
@moahammad1mohammad 4 жыл бұрын
Its my personal favorite
@ananery7108
@ananery7108 3 жыл бұрын
For me the most scary is the hybrid sort
@old7791
@old7791 6 жыл бұрын
Ah, your other video was quiet so I had to raise to full volume. This one was not quiet. I can see a new color now.
@mateuszodrzywoek8658
@mateuszodrzywoek8658 6 жыл бұрын
Ultrared or infraviolet
@whatisthis2809
@whatisthis2809 5 жыл бұрын
since you have xray vision now can you look under my house and see if there is a 10 trillion dollar bill
@Kromaatikse
@Kromaatikse 4 жыл бұрын
@@mateuszodrzywoek8658 Probably octarine.
@Idkwholmao
@Idkwholmao 6 ай бұрын
​@@mateuszodrzywoek8658 not sure, could be visible X-rays...
@Ruxian
@Ruxian 6 жыл бұрын
So we just not gonna talk about how pigeonhole sort just did it
@thehiddenninja3428
@thehiddenninja3428 6 жыл бұрын
1: scan the different numbers 2: count how many of each number there are 3: SORT!
@minetech4898
@minetech4898 4 жыл бұрын
@@thehiddenninja3428 That's counting sort, isn't it?
@joeybarela363
@joeybarela363 4 жыл бұрын
@@minetech4898 Pigeon counts twice
@нинажучкова-д2б
@нинажучкова-д2б 4 жыл бұрын
@@joeybarela363 actually no
@joeybarela363
@joeybarela363 4 жыл бұрын
@@нинажучкова-д2б Enlighten me, will you?
@invalid_user_handle
@invalid_user_handle 2 жыл бұрын
1:35 I like how it starts working on the next part and then it realizes it didn't finish the last segment.
@TeenyTonnie
@TeenyTonnie 2 жыл бұрын
me trying to work on any project:
@MaccyCheeze
@MaccyCheeze Жыл бұрын
Sorting, sorting, sor- This one's wrong, let me fix it real quick.. Sorting, sorting, sorting
@SkolenMir2800
@SkolenMir2800 Жыл бұрын
"almost ther- wait hold on"
@pigtoad
@pigtoad 4 жыл бұрын
0:50 The literal definition of “Ironing out the kinks”
@Lastrevio
@Lastrevio 6 жыл бұрын
3:54 brace yourselves we're taking off
@rainzel
@rainzel 6 жыл бұрын
1:01 Gravity Sort is like... "Let me check," "And..." "Done..."
@stavrinos
@stavrinos 2 жыл бұрын
Gravity sort actually changes the value of every item in the list until it's sorted, so it cannot be implemented in the real world.
@kurt3796
@kurt3796 6 жыл бұрын
Gravity sort is me when the teacher asks me to show your working
@Snowfireblues
@Snowfireblues 6 жыл бұрын
What's the parameters on pidgeonhole sort because that shit is impressive. It takes two runs of an unsorted array and then just puts them in order by the third
@sortingstuff6357
@sortingstuff6357 6 жыл бұрын
SnowFireBlues Pigeonhole sort actually does a lot of work in copy arrays which aren't visualized, so you don't see the whole thing here. You can visualize the copy array, but I'm having trouble with my Linux so I can't compile it on this visualizer. I could show it on mine, which is built on windows, but it won't have sound.
@Snowfireblues
@Snowfireblues 6 жыл бұрын
If you could that'd be amazing, I don't exactly care much for the sound, although it's a good touch. But perhaps the more important question is, how efficient is it. Speed/memory usage/accuracy
@Snowfireblues
@Snowfireblues 6 жыл бұрын
Kerwin C I'd love to know the answer to that
@jkf16m96
@jkf16m96 5 жыл бұрын
Umm then why not for pidgeonhole, use it when temp memory is enough, and if it isn't, use another sort algorithm, like gravity sort of quick sort
@dragonfiire8148
@dragonfiire8148 5 жыл бұрын
This video does a very good job explaining it kzbin.info/www/bejne/pIe0q2Ohj7N2bJY
@oberonpanopticon
@oberonpanopticon Жыл бұрын
Personally I prefer to use miraclesort because it’s just so easy. Just check if data = sorted, and if it isn’t, then wait a while and ask again. Random bit flipping and other errors/diving intervention will eventually result in data = sorted being true because everything with a nonzero probability will happen given sufficient time. It’s also pretty computationally efficient! It’s like bogo bogo sort but even better!
@Th3DankestMemer
@Th3DankestMemer 6 жыл бұрын
Flashsort is pretty quick until that last round to adjust it a bit. Also, I have seen from the 16 Sorts: Disparity Dots video that Gravity sort is basically this: Step 1: Scan each one and figure out where it should be. Step 2: Assign each of them their own personal gravity to pull them to where they should be. Step 3: Let the gravities do their jobs. Hybrid Sort seems to be just that: a hybrid (of Quicksort and Merge Sort and some others). And you guys are saying that Gravity Sort is weird...Pigeonhole Sort is the weird one! It seriously just scans it twice and then puts it together more or less effortlessly!
@artemetra3262
@artemetra3262 5 жыл бұрын
And counting sort too
@want-diversecontent3887
@want-diversecontent3887 5 жыл бұрын
artemetra Counting sort does everything in a different array, where it counts “ok, a 1, a 500, another 1…” And places them in order.
@boggless2771
@boggless2771 5 жыл бұрын
Psudocode for gravity sort; Boolean stillSorting = true; While (stillSorting): stillSorting = false; for(int i = 1; i < list.length: i++): If(list[i - 1] > list[i]): stillSorting = true; swap(list, i - 1, i); i++
@diamboy
@diamboy 5 жыл бұрын
Boggless that's bubble sort
@CalculatedRiskAK
@CalculatedRiskAK 4 жыл бұрын
@@boggless2771 That is definitely not gravity sort because your pseudocode makes comparisons. Gravity sort is a non-comparative distribution sort.
@mineland8220
@mineland8220 4 жыл бұрын
Flash sort: Step 1: represent the final image Step 2: E N H A N C E Step 3: repeat step 2 Step 4: profit
@benirodriguez9516
@benirodriguez9516 3 жыл бұрын
Everyone talks about the Gravity Sort in the comments, but that Pigeonhole Sort is as impressive! :)
@rivertdb7159
@rivertdb7159 2 жыл бұрын
The Hybrid Sort has to be the most terrifying sound I have ever heard. Imagine that in horror game. That would be terrifying!
@lunathecat4318
@lunathecat4318 Жыл бұрын
me, a wanna-be game dev: you gave me an idea
@rizkyadiyanto7922
@rizkyadiyanto7922 Жыл бұрын
you watch too much creepypasta.
@fireandseed
@fireandseed Жыл бұрын
It reminded me of the underground level in Mario Bros 😫
@cloud_congestus
@cloud_congestus Жыл бұрын
add some spooky effects and you've got nightmare fuel lmao
@PaGDu333
@PaGDu333 2 жыл бұрын
Pidgeonhole Sort is basically like that one kid who can’t solve a Rubik’s cube but is able to peel the stickers off and put it back in as a profession
@botanicalyuuchan
@botanicalyuuchan 2 жыл бұрын
I know nothing about sorting algorithms but this video popped up on my recommended feed and I'm glad I watched it! This video has me intrigued!
@davidthecommenter
@davidthecommenter 4 жыл бұрын
1:22 when you play pac-man on the broken arcade machine
@optmstpessmst
@optmstpessmst 2 жыл бұрын
pancake sort is one of the most inefficient sorting methods, it's so inefficient you had to use fewer items otherwise it would take forever
@MuttBic
@MuttBic 4 жыл бұрын
I like how when I watched jerma's vod on The Coin Game, youtube recommended me this because it detected it in the video. Thanks youtube.
@backtonovember5306
@backtonovember5306 4 жыл бұрын
A e o
@soulinite2262
@soulinite2262 4 жыл бұрын
Gravity sort: Step 1: take good look Step 2: ATTAIN SINGULARITY Step 3: ??? Step 4: yay you did it
@dbm-yv1gl
@dbm-yv1gl 6 жыл бұрын
Beginning: Wab-wab-wab After that: Woob-woob-woob End of each algorithm: UuuuuuWAAAAAAP
@Queggletank
@Queggletank 4 жыл бұрын
hybrid sort is the official soundtrack for anxiety
@ProtoArtsProduction
@ProtoArtsProduction 2 жыл бұрын
Radix LSD In-Place is just like a futuristic F1, with 80% of the power on electricity, flying with an anti-gravity engine from the year 2069
@catastrophia2160
@catastrophia2160 2 жыл бұрын
I have seen these videos all throughout my life and I will never understand how they work or why they exist, but brain go *serotonin*
@terminatedga
@terminatedga 5 жыл бұрын
1:53 sounds like flight of the bumblebee
@LVETOT
@LVETOT 3 жыл бұрын
XD
@Frank-wr2nf
@Frank-wr2nf 3 жыл бұрын
Hahaha I was looking for someone to say this
@Johnakritopoulos
@Johnakritopoulos 2 жыл бұрын
Radix LSD In-Place: 1. Look at the deck 2. Repeat an unnecessary amount of times 3. Make the Sheppard's tone because you're bored 4. And it's done
@teclinsoro4523
@teclinsoro4523 4 жыл бұрын
the sudden silence after the pure hellish cacophony of noise that is the pigeonhole sort was actually quite disturbing
@SuperTux20
@SuperTux20 6 жыл бұрын
OK, pigeonhole, aka counting sort
@TarigonTetradactyl
@TarigonTetradactyl 5 жыл бұрын
counting checks twice, pigeonhole checks once
@want-diversecontent3887
@want-diversecontent3887 5 жыл бұрын
Flurby That Weird Kirby Ok, so in the video it was wrongly labeled.
@want-diversecontent3887
@want-diversecontent3887 5 жыл бұрын
Lucas Fuckgirl I think Counting should only check once, and Pigeonhole should check twice.
@attagirl5197
@attagirl5197 6 жыл бұрын
Is it just me or does the radix lsd in-place sound like a Shepherd’s tone?
@JediJess1
@JediJess1 5 жыл бұрын
That's what I keep saying!
@jonatansexdoer96
@jonatansexdoer96 2 жыл бұрын
It doesn't sound like one, it is one
@wirisuuuuiooiouvyy9705
@wirisuuuuiooiouvyy9705 2 жыл бұрын
while it's sorting, it sounds like a ton of little colorful rectangles freaking out and screaming
@LudwigvanBeethoven2
@LudwigvanBeethoven2 6 жыл бұрын
3:30 Anime sort
@lonkwuzhere4433
@lonkwuzhere4433 2 жыл бұрын
aw man, I love this playlist! tons of great songs
@abcdef32535
@abcdef32535 3 жыл бұрын
hybrid sort is (1:10) : insertion sort + quick sort + merge sort
@anomalousanimates
@anomalousanimates 2 жыл бұрын
It's a hybrid
@robinausbayern1999
@robinausbayern1999 6 жыл бұрын
3:54 Who is stealing my car???
@chevyfan7930
@chevyfan7930 5 жыл бұрын
Is that a spaceship leaving?
@imperiallegionnaire8344
@imperiallegionnaire8344 4 жыл бұрын
I have idea for a sorting algorithm. Take the first item on the list, then compare them with a random item on the list. Adjust them accordingly, then do it for every other item on the list. Once they've all been compared, compare first one to thee second and see if they are order. If so continue comparing, if not repeat the first process.
@cmyk8964
@cmyk8964 2 жыл бұрын
Sounds like a variation on Bogosort.
@gmdrandom6287
@gmdrandom6287 2 жыл бұрын
Call it the bozo sort
@ImXyper
@ImXyper 2 жыл бұрын
i came up with this exact idea when i was younger
@U-PN-BI-IBW
@U-PN-BI-IBW 2 жыл бұрын
sounds like a gnome/bogosort hybrid with stoogesort right at the end really inefficient, hard to code, and slow asf
@karmaindustrie
@karmaindustrie 6 жыл бұрын
Gravity Sort: veni vidi vici
@californium-2526
@californium-2526 3 жыл бұрын
Also pigeonhole sort.
@nerosonic
@nerosonic 6 жыл бұрын
gravity sort feelsgoodman.jpg
@BradenBest
@BradenBest 2 жыл бұрын
Wow, Pancake is the slowest algorithm I've ever seen. Pidgeonhole is pretty cool but I assume it uses a ton of memory.
@froof
@froof 4 жыл бұрын
"Drop the drugs!" "its okay 🅱️ibba, I got the 3:30"
@rachaelchampion6195
@rachaelchampion6195 2 жыл бұрын
Ranger using his cool gun that does damage
@gigaprofisi
@gigaprofisi 4 жыл бұрын
1:03 **hell rises**
@slothysoap4589
@slothysoap4589 2 жыл бұрын
I have no idea how I got here, I have no idea what is going on, and I can't look away. It's like a mathematical simulation of what I assume to be an acid trip in a data center
@benedictyung3858
@benedictyung3858 4 жыл бұрын
I want hybrid sort to be played on all my birthdays, on my wedding and on my funeral
@Imotbro
@Imotbro Жыл бұрын
It only should be played on a funeral because it is a sad "song"
@picklehat1455
@picklehat1455 2 жыл бұрын
this is strangely satisfying
@JohnDlugosz
@JohnDlugosz 6 жыл бұрын
I'd like to know what these algorithms actually are, compared to the ones we know from school. Thought I'd find links or brief description in the description, but no. :(
@NXTangl
@NXTangl 5 жыл бұрын
Most of them you can look up...however, "hybrid sort" is kind of weird. I think it's a bunch of dual-pivot Quicksort passes, followed by using Timsort to exploit the large-scale order of the result.
@snakebarber
@snakebarber 2 жыл бұрын
Hybrid sort is a good representation of me trying to get chores done
@myrjavi
@myrjavi 6 жыл бұрын
For cocktail merge, it think it should start with 8 integers Then sort using cocktail sort. Then merge them by using cocktail sort.
@The_Eggdog
@The_Eggdog 2 жыл бұрын
I don't understand what just happened, but I love it!
@julesjackson4855
@julesjackson4855 2 жыл бұрын
0:42 Schrodinger’s sort: It’s sorted and unsorted at the same time
@zo9238
@zo9238 2 жыл бұрын
I need to save this for the next time in tripping
@LucasIsHereYT
@LucasIsHereYT 2 жыл бұрын
Be nice to Pancake sort, they've only been on the job for a week and it's their first time in the field!
@Cirnothegoober
@Cirnothegoober Ай бұрын
What possessed me to listen to sorting algorithms for 4 minutes and five seconds
@Oakinator
@Oakinator 2 жыл бұрын
Fnf fans: damn this shit fire! 🔥🔥🔥
@twixwrapper4916
@twixwrapper4916 Жыл бұрын
pancake sort looks like a single parent walking around the house while their kids are at school and they’re cleaning the house
@Cat-kv7jo
@Cat-kv7jo 2 жыл бұрын
FNF fans be like: Yo, this song is fire
@MarcelKędziora-w7r
@MarcelKędziora-w7r 6 ай бұрын
The hybrid sorting got the ping 1045ms
@chopchunk7573
@chopchunk7573 2 жыл бұрын
Most other algorithms: You want me to sort it? Okay, first I need to see what I am sorting, then I gotta compare this to this, gotta group these into groups, gotta sort each individual group, gotta merge the groups, gotta sort the groups again... Gravity and Pidgeonhole: You want me to sort it? Okay, first I need to see what I am sorting. Then I sort. Alright, done!
@scoot.112
@scoot.112 2 жыл бұрын
I have no idea what any of this means but I love it
@ratrouter8641
@ratrouter8641 2 жыл бұрын
GUYS I JUST DEVIDED 0 Block: Braille Patterns, U+2800 - U+28FF[3] Plane: Basic Multilingual Plane, U+0000 - U+FFFF[3] Script: Braille (Brai) [4] Category: Other Symbol (So) [1] Bidirectional Class: Left To Right (L) [1] Combining Class: Not Reordered (0) [1] Character is Mirrored: No [1] HTML Entity: &#10240; &#x2800; UTF-8 Encoding: 0xE2 0xA0 0x80 UTF-16 Encoding: 0x2800 UTF-32 Encoding: 0x00002800 is the answer for 0 devided by 0
@michaelolivares992
@michaelolivares992 2 жыл бұрын
W h a t
@anomalousanimates
@anomalousanimates 2 жыл бұрын
Que
@The_Red_Scare
@The_Red_Scare Жыл бұрын
ⁿᵃⁿⁱ
@GotUrBeans
@GotUrBeans 4 жыл бұрын
I'm listening to this while doing homework and my mom is attempting to fix the smoke alarms, god have mercy on my hearing
@Zyaxious
@Zyaxious 7 жыл бұрын
May I have a look at the source code for "Radix LSD In-Place" based on this? It seems to run at about the same time as the original one and it appears to be less memory-intensive for the fact that it is an in-place version, which is quite impressive. I have been looking everywhere and the Wikipedia and some other sources implement the out-of-place ones. w0rthy also implemented an in-place version but it looks different from this.
@sortingstuff6357
@sortingstuff6357 6 жыл бұрын
Yeah, pastebin.com/SKgjz7mh While this uses a SortArray object which is used with this visualizer, it's not too hard to convert it to a vector or int array.
@Zyaxious
@Zyaxious 6 жыл бұрын
Thank you for sharing the code. Oh, and happy Pi day!
@6infinity8
@6infinity8 6 жыл бұрын
It takes advantage of the number representation. Works great on homogeneous known distributions but scales poorly.
@Zyaxious
@Zyaxious 6 жыл бұрын
6infinity8, of course, that is why it has never been implemented for practical uses. It works great with integer types (and theoretically with floating-point formats). It may be an advantage for a programming language that sorts integers with its default algorithm, such as Java. But the use of it is very limited, indeed, compared to others.
@Musicombo
@Musicombo 8 ай бұрын
​​@@sortingstuff6357How is that implementation of Radix LSD in-place? Is it not creating an additional array (vector) the same size as the input array?
@Gamesmarts194
@Gamesmarts194 2 жыл бұрын
“Which sorting algorithm should I use?” Hybrid sort: Yes.
@guiAstorDunc
@guiAstorDunc 2 жыл бұрын
Cocktail Merge Sort brings up a question I’ve had since seeing Merge Sort for the first time: which algorithm is Merge Sort just a “divide and conquer” approach to?
@RyanTosh
@RyanTosh 2 жыл бұрын
Calling it "divide and conquer" of another algorithm is a bit of an oversimplification. What it really does it just split things in half over and over again until it can work on the scale of individual pairs of items, then it just has to sort each of those pairs (which is easy, you just figure out which comes first and swap them if they need to be swapped), and then work its way back up by merging the already-sorted pairs (which is easy since you only have to look at the first item in each, and you can do it in the reverse order you split them in half with to only have to look at the tops of two lists at once).
@FireyDeath4
@FireyDeath4 2 жыл бұрын
This video made me laugh What the heck does Pancake Sort do???
@idiotgame1026
@idiotgame1026 2 жыл бұрын
3:40 - end The sounds of hell; part TWO!!! 😀😀😀😶‍🌫️
@Benny_Blue
@Benny_Blue Жыл бұрын
For people like me who checked the comments hoping they wouldn’t have to Google: Pancake Sort is so bad because the only operation it has is to reverse the entire list up to a certain point - like sticking a spatula into a stack of pancakes and flipping what’s above it over. That’s why you often see the tallest unsorted element at the very beginning for a split second - it put it there, and it’s about to flip the entire unsorted portion to put it in the right place.
@viengsamphet
@viengsamphet 6 жыл бұрын
1:00 3:30 latte101: When this is sorted, the world will end... *10 seconds later* *everyone has left the chat*
@mrtoast244
@mrtoast244 2 жыл бұрын
Hybrid Sort scares me
@Jesthor
@Jesthor 4 жыл бұрын
Gravity and Pigeonhole are basically: "(glowing red eyes) IAM THE SORT!"
@MandieBellamy
@MandieBellamy 2 жыл бұрын
I don't understand a single fuck of what's happening there but I loved it
@The-pf4zy
@The-pf4zy 6 жыл бұрын
Hybrid sort looks like Merge Sort and QuickSort combined.
@marketplierr
@marketplierr 6 жыл бұрын
The26 That's why it's hybrid.
@markhesse4510
@markhesse4510 6 жыл бұрын
All answers including this are correct☺☺☺☺☺☺☺☺☺☺☺
@lja3723
@lja3723 6 жыл бұрын
And also added Inserting sort.
@TaranVaranYT
@TaranVaranYT Жыл бұрын
hmm yes lets split the list into 4 parts and use cocktail shaker sort with the 4 segments and use merge sort once they are sorted and call this cocktail merge sort
@thomasgamer4000
@thomasgamer4000 4 жыл бұрын
I don’t think that’s gravity sort, looked different in other videos. And pidgonhole sort is usually called counting sort
@niallturner
@niallturner 2 жыл бұрын
this mak the breain tingle good
@ziem24
@ziem24 3 жыл бұрын
3:30 is the talented kid explaining how they „just do” stuff
@blanket-knees
@blanket-knees 2 жыл бұрын
people help the people -birdy
@Jacob-oo4yq
@Jacob-oo4yq 6 жыл бұрын
FeelsGoodMan Clap FeelsGoodMan Clap FeelsGoodMan Clap FeelsGoodMan Clap
@ACEMesa69
@ACEMesa69 Жыл бұрын
Can’t wait to add this to my music playlist
@FireyDeath4
@FireyDeath4 6 жыл бұрын
3:54 Hey, that sounds really good! 4:00 huh? HEY!!!!!!!!!! You ruined my fun! |/
@kryptic1995
@kryptic1995 3 жыл бұрын
If only I knew what I was looking at so I could appreciate it more
@bryanchu5379
@bryanchu5379 2 жыл бұрын
2:17 sounds dope as fuck
@nightlovurr99
@nightlovurr99 5 ай бұрын
0:04 BIG MONEY! BIG MONEY!
@Phobic_Nova
@Phobic_Nova 4 жыл бұрын
This is actually a really cool vid! Obscure is interesting! If anyone can tell me how these work, I'd love to know! I'm not really into coding just yet-
@joeybarela363
@joeybarela363 4 жыл бұрын
I recommend looking up the videos online, try to find ones explaining it to the general viewer, rather than someone trying to implement it into some code.
@Phobic_Nova
@Phobic_Nova 4 жыл бұрын
@@joeybarela363 Thanks! :D
@Rcknrll666
@Rcknrll666 2 жыл бұрын
Mathematical algorithmic patterns experiencing a frequency sweep, creating these digital alien vibrations
@KlinkeManden
@KlinkeManden 3 жыл бұрын
I have no idea what this is used for but I’m still vibing
@Rusii
@Rusii 4 жыл бұрын
2:27 alert! alert!
@keki4578
@keki4578 2 жыл бұрын
Idk why but the sound makes it ten times more hilarious
@zygis1819
@zygis1819 4 жыл бұрын
DROP YOUR GUN! It's okay nigga! I got the 0:36
@amberhernandez
@amberhernandez Жыл бұрын
Flashsort: "Here's the answer!" "Show your work." Flashsort: "...dammit."
@aliensguy4291
@aliensguy4291 6 жыл бұрын
you may fire when ready commence primary ignition 1:39 *death star fires* Also 3:53 old school light cycle game
@eelamite
@eelamite 2 жыл бұрын
anyone who's played bootleg programmes titled "180 games!" hardly fitted onto gameboy cartridges is not surprised by these weird glitchy noises, in the slightest.
@eelamite
@eelamite 2 жыл бұрын
especially games like balloon fight, that'd glitch ALLthe time
Visualization of Radix sort
7:02
udiprod
Рет қаралды 100 М.
Sorts 2018 - Dynamic Hoops
5:01
w0rthy
Рет қаралды 639 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
15 Sorting Algorithms in 6 Minutes
5:50
Timo Bingmann
Рет қаралды 25 МЛН
50+ Sorts, Visualized - Reversed Inputs
27:10
Musicombo
Рет қаралды 220 М.
Mandelbrot's Evil Twin
7:47
2swap
Рет қаралды 680 М.
Visualizing 70 Sorting Algorithms
29:24
Kuvina Saydaki
Рет қаралды 254 М.
How do non-euclidean games work? | Bitwise
14:19
DigiDigger
Рет қаралды 2,5 МЛН
A Proof That The Square Root of Two Is Irrational
17:22
D!NG
Рет қаралды 7 МЛН
LSD Radix Sort with High Bases
3:43
SlayerNate26
Рет қаралды 64 М.
Bogosort Sheds Donna Lee Until it Sorts the List
19:48
AlgoMotion
Рет қаралды 10 М.
Sorts 2018 - Horizontal Pyramid
5:05
w0rthy
Рет қаралды 1,1 МЛН
Listening to Sorting Algorithms!
17:16
Kitty Beans
Рет қаралды 765 М.