Slow Sort

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ก.ย. 2024
  • Visualization and "audibilization" of the Slow Sort algorithm.
    Sorts a random shuffle of the integers [1,50] using slow sort. It uses the implementation from de.wikipedia.or... . Slow sort is very very slow, but not as slow as Bogo Sort!
    More information on the "Sound of Sorting" at panthema.net/20...

ความคิดเห็น • 659

  • @tiltedtesseract8210
    @tiltedtesseract8210 8 ปีที่แล้ว +4767

    slow sort is just merge sort with the severe paranoia that the elements have moved themselves while it wasn't looking.

    • @velocityra
      @velocityra 8 ปีที่แล้ว +638

      +drew b. Oh my god I'm crying. It even *sounds* paranoid and stressed in the video.

    • @tiltedtesseract8210
      @tiltedtesseract8210 8 ปีที่แล้ว +623

      "Okay, okay, after nearly fifty thousand comparisons, the list is *finally* sorted.
      -I _think_ so, at least... I should check it one more time, just to be sure!
      ...And a second time for good measure.
      ...And a third time for luck.
      And another because _oh god please stay sorted fuck fuck fuck-"_

    • @ado3247
      @ado3247 8 ปีที่แล้ว +26

      lol

    • @Phl3xable
      @Phl3xable 8 ปีที่แล้ว +22

      lol

    • @anonymoususer9837
      @anonymoususer9837 8 ปีที่แล้ว +20

      lol

  • @scitechian
    @scitechian 7 ปีที่แล้ว +1251

    Fun fact: This algorithm was created to be the least efficient way possible to sort an array without deliberately making things any worse. The implementation was proposed as a counter to the "divide and conquer" strategy that Mergesort works on, and the author called it "multiply and surrender". It was the subject of his Master's Thesis.

    • @ilmu011
      @ilmu011 6 ปีที่แล้ว +129

      scitechian Multiply and Surrender 😂😂😂😂
      Tell me he got an A++++

    • @xinlidai1642
      @xinlidai1642 5 ปีที่แล้ว +55

      welp I guess whoever made it got screwed over by the bogo sort, where you literally just randomly organize everything and hope they're in the right place

    • @cavemann_
      @cavemann_ 5 ปีที่แล้ว +143

      @@xinlidai1642 "without deliberately making things any worse"

    • @recessiv3
      @recessiv3 5 ปีที่แล้ว +13

      multiply and surrender hahahahahahahahaha

    • @ralphinoful
      @ralphinoful 5 ปีที่แล้ว +25

      @@xinlidai1642 You're forgetting about bogobogo sort. Bogo sort is only O(n x n!). In bogobogo sort, you use bogo sort to sort every sub-array of the list.

  • @luck3949
    @luck3949 7 ปีที่แล้ว +1929

    When they pay you per hour

  • @IPunchWithMyFists
    @IPunchWithMyFists 6 ปีที่แล้ว +980

    You took a perfectly good computer and gave it anxiety, good job.

    • @buffwagon
      @buffwagon 11 หลายเดือนก่อน +1

      This is the best way to describe it

  • @2Cerealbox
    @2Cerealbox 8 ปีที่แล้ว +2129

    You know you've been programming too long when you find a sorting algorithm to be hilarious.

    • @BradenBest
      @BradenBest 8 ปีที่แล้ว +97

      +Ryan N
      Exactly! I'm cracking up harder over a sorting algorithm than something that was actually intended to be funny.

    • @vin_fm2354
      @vin_fm2354 7 ปีที่แล้ว +2

      LMFAOOOO

    • @masonlee6040
      @masonlee6040 6 ปีที่แล้ว +29

      Counting sort is in the corner like: "One... two... and done!"

    • @jacksonswank3010
      @jacksonswank3010 6 ปีที่แล้ว +29

      Ryan N I'm not even a programmer and I find this hilarious lol

    • @HollowDesert
      @HollowDesert 6 ปีที่แล้ว +13

      Ryan N I've never programmed anything and I find this funny.

  • @arthurhill8185
    @arthurhill8185 8 ปีที่แล้ว +592

    I strongly empathize with this algorithm.

    • @whatisthis2809
      @whatisthis2809 7 ปีที่แล้ว +2

      Arthur Hill first reply with 58 likes

    • @baconology
      @baconology 6 ปีที่แล้ว +4

      Agree, this one is me in real life

    • @TarigonTetradactyl
      @TarigonTetradactyl 5 ปีที่แล้ว +3

      woah thats a lotta default pfps

  • @northrupthebandgeek
    @northrupthebandgeek 8 ปีที่แล้ว +753

    Sounds like some kind of experimental jazz. I love it.

    • @Jivvi
      @Jivvi 7 ปีที่แล้ว +34

      Sounds like Mario music at 0:09

    • @romanbrazhnikov9049
      @romanbrazhnikov9049 6 ปีที่แล้ว +12

      1:27 Time Forward! starts here))

    • @txqea9817
      @txqea9817 6 ปีที่แล้ว +5

      sounds like nothing at 3:05 ecks dee

    • @sandrakleinman7215
      @sandrakleinman7215 6 ปีที่แล้ว +3

      I think it's supposed to be the flight of the bumblebee

    • @skunkfac3
      @skunkfac3 5 ปีที่แล้ว +1

      YA LIKE JAZZ?

  • @RomanSoldier13
    @RomanSoldier13 7 ปีที่แล้ว +1282

    From the Wikipedia article: "Even the best case is worse than bubblesort" AHAHAHAHAHAA

    • @owenyin3316
      @owenyin3316 3 ปีที่แล้ว +23

      meanwhile bogosort:

    • @theadissons1372
      @theadissons1372 3 ปีที่แล้ว +58

      @@owenyin3316 the best case would be first try so its better than bubble sort

    • @groszak1
      @groszak1 3 ปีที่แล้ว +1

      It is a sorting network, always the same comparisons for the same amount of items

    • @owenyin3316
      @owenyin3316 3 ปีที่แล้ว +12

      @@groszak1 this is nowhere near true

    • @SoupEarthOfficial
      @SoupEarthOfficial 3 ปีที่แล้ว +4

      DONT MAKE FUN OF BOGO SORT

  • @icypengin3502
    @icypengin3502 8 ปีที่แล้ว +521

    This is how I check my answers on an important test.

    • @whatisthis2809
      @whatisthis2809 7 ปีที่แล้ว +6

      Icy Pengin first reply with 32 likes 77 now

    • @MamboBean343
      @MamboBean343 7 ปีที่แล้ว +8

      Iqbal Mala who tf cares

    • @banana_
      @banana_ 6 ปีที่แล้ว +1

      MamboBean it's a joke man hahaha

    • @MamboBean343
      @MamboBean343 6 ปีที่แล้ว +1

      BananaCupcake I was replying to Iqbal Mala, not the joke

    • @banana_
      @banana_ 6 ปีที่แล้ว +1

      MamboBean minecraft is my favorite game

  • @GibusWearingMann
    @GibusWearingMann 7 ปีที่แล้ว +800

    You could probably sort it faster by hand.

    • @raffimolero64
      @raffimolero64 6 ปีที่แล้ว +71

      because you'd use like insertion sort (or radix base 4 sort if sorting a deck of cards) by hand.

    • @user-nr7wf7lo1d
      @user-nr7wf7lo1d 6 ปีที่แล้ว +153

      Or be and idiot and use bogo sort be throwing the cards in the air than picking them up

    • @txqea9817
      @txqea9817 6 ปีที่แล้ว +8

      i agree with him? ^

    • @アヤミ
      @アヤミ 6 ปีที่แล้ว +7

      Jackie Brzostek it all starts with a deck of playingcards.

    • @Achillionable
      @Achillionable 5 ปีที่แล้ว +15

      @@raffimolero64
      Wait, you guys aren't bubblesorting a pack of card ?

  • @KnakuanaRka
    @KnakuanaRka 6 ปีที่แล้ว +289

    In case you’re wondering, this is what’s happening:
    Split the array in half.
    Sort each half with slowsort (recursively).
    Compare the highest element from each half.
    Move the bigger one to the end of the list.
    Repeat from the top, omitting the last element (the one moved into position) from the sorting.
    Basically, a demented combination of merge and insertion sort.
    Edit: Merge and SELECTION sort, my bad.

    • @ZyphLegend
      @ZyphLegend 6 ปีที่แล้ว +14

      Seeing it explains make it sound more horrible than I imagined.

    • @groszak1
      @groszak1 5 ปีที่แล้ว +17

      it's based on the principle of multiply and surrender

    • @zachseb1903
      @zachseb1903 4 ปีที่แล้ว +1

      i dont get it

    • @flexworshipper7541
      @flexworshipper7541 3 ปีที่แล้ว

      In other words.......
      Music go big to smol

    • @pandaunicorn2791
      @pandaunicorn2791 ปีที่แล้ว

      I thought slowsort made with threads where each threead waits as the value in the cell then put the value in another array

  • @sonicmastersword8080
    @sonicmastersword8080 8 ปีที่แล้ว +345

    At least it can finish, bogo sort would likely take a 1000 years.

    • @psyneur9182
      @psyneur9182 7 ปีที่แล้ว +79

      technically bogosort could be a lot faster

    • @johnhurley8918
      @johnhurley8918 6 ปีที่แล้ว +108

      Yeah, bogo sort could finish on the first try.

    • @ilmu011
      @ilmu011 6 ปีที่แล้ว +52

      Yes, well know, that the Best Case for Bogo Sort is O(1), but the average case is O(N!). Not to mention, that the worst case is O (infinity)

    • @mattia2510
      @mattia2510 5 ปีที่แล้ว +3

      @@ilmu011 averege is O((n+1)!)

    • @ilmu011
      @ilmu011 5 ปีที่แล้ว +8

      @@mattia2510 In the O-notation constants are completely irrelevant. It is only supposed to describe complexity with a growing number of range.
      O (5) is the exact same as O (999999999999) is the exact same as O (1)
      The complexity is constant. Usually this is marked with O (1), you can say O (2) but it doesn't add any information about the complexity.
      Same with O (n+1). The N already states it's linear. The +1 doesn't give us any relevant infornation about the complexity.
      I could say that a certain sorting algorithm will always take a number of steps equal to the size of the array plus 100.000.000.
      You could say that the complexity is O (N + 100.000.000), but that doesn't change the fact that the complexity is still linear, so normally you would still only say O (n).

  • @diegofloor
    @diegofloor 9 ปีที่แล้ว +543

    Musically, this is the best one!

    • @whatisthis2809
      @whatisthis2809 7 ปีที่แล้ว +4

      diegofloor first reply with 70 likes

    • @lukewatson8848
      @lukewatson8848 7 ปีที่แล้ว +14

      diegofloor he, I like the music for BOGO more

    • @its_jasonBSF
      @its_jasonBSF 3 ปีที่แล้ว +1

      bogosort

  • @noahlovotti7722
    @noahlovotti7722 7 ปีที่แล้ว +186

    I tried to mimic the temperment of this, and got what roughly translates to 22 tones per 1.5 octave. The fact that an algorithm with random numbers can generate full fledged microtonal music is insane.

    • @groszak1
      @groszak1 3 ปีที่แล้ว +10

      The formula they use for the frequency is 120+1200*x², where x is from 0 to 1. In this case it's x being [1, 50]/50, which is from 0.02 to 1.

    • @noahlovotti7722
      @noahlovotti7722 3 ปีที่แล้ว +4

      @@groszak1 ah thanks :)

    • @GabrielsEpicLifeofGoals
      @GabrielsEpicLifeofGoals 2 ปีที่แล้ว

      I want a musical sorting algorithm.

    • @zebraforceone
      @zebraforceone ปีที่แล้ว

      @@GabrielsEpicLifeofGoals I'm writing a VST inspired by these videos, what exactly did you have in mind?

    • @dnaroseandthewolves
      @dnaroseandthewolves ปีที่แล้ว +1

      heading to improvise in this tuning years layer

  • @moth.monster
    @moth.monster 7 ปีที่แล้ว +612

    It appears to tickle the integers before moving them.

    • @AugustusBohn0
      @AugustusBohn0 7 ปีที่แล้ว +122

      404_name_missing en.wikipedia.org/wiki/Joke

    • @torresmat10
      @torresmat10 6 ปีที่แล้ว +15

      404_name_missing woosh

    • @ВасилийПупкин-ж8и
      @ВасилийПупкин-ж8и 6 ปีที่แล้ว +71

      404_name_missing
      You failed turing test, go back to your server

    • @seanplayz9626
      @seanplayz9626 5 ปีที่แล้ว +8

      This just made me laugh out loud

    • @skunkfac3
      @skunkfac3 5 ปีที่แล้ว +4

      @404_name_missing /r/whoosh

  • @FragileBadger
    @FragileBadger 6 ปีที่แล้ว +128

    It may be slow, but I believe in it

  • @josephharold808
    @josephharold808 3 ปีที่แล้ว +38

    I'm a beginner in computer science and I couldn't even think of how I would go about programming something like this. Something this inefficient can not be accidentally programmed. This is awe inspiring.

    • @FarmYardGaming
      @FarmYardGaming ปีที่แล้ว +13

      Apparently it wasn't an accident, it was deliberately made to be seriously inefficient

    • @isaaczhang2762
      @isaaczhang2762 10 หลายเดือนก่อน

      @@FarmYardGamingit was

  • @noticeme6412
    @noticeme6412 3 ปีที่แล้ว +19

    love how slow sort was deliberately programmed to sort as inefficiently as possible without including random elements as a joke.

  • @ПавлоСурженко
    @ПавлоСурженко 3 ปีที่แล้ว +42

    It's even more hilarious when you know how to works. Basically it recursively sorts two approximately equal subarrays (like mergesort) then looks at their highest members and swaps them if they are in the wrong order thus ensuring that the highest element is in the right place (like selection sort). Then it runs itself recursively _once again_ on the rest of the array. The author called this strategy "multiply and surrender" as opposed to "divide and conquer".

    • @biometrix_
      @biometrix_ 2 ปีที่แล้ว

      How IT* works?

  • @zazz_il_708
    @zazz_il_708 7 ปีที่แล้ว +289

    youtube put this in my music playlist...

    • @mynipples9327
      @mynipples9327 6 ปีที่แล้ว +10

      i am proud

    • @MM-ny7dv
      @MM-ny7dv 5 ปีที่แล้ว +17

      youtube knows their shit

    • @bunbunnbunnybun
      @bunbunnbunnybun 5 ปีที่แล้ว +6

      Lol best music of the century

  • @Crasshopperrr
    @Crasshopperrr 10 ปีที่แล้ว +194

    Sounds quite nice around 1:10.

    • @SpeckyYT
      @SpeckyYT 6 ปีที่แล้ว +8

      Lao Tzu yes, i agree

    • @gaetanodepaola2ndchannel179
      @gaetanodepaola2ndchannel179 6 ปีที่แล้ว +25

      It plays the same two 7th chords over and over, only faster everytime

    • @feloria1862
      @feloria1862 4 ปีที่แล้ว +3

      I like the part from 0:31 to 1:02

  • @Springwight
    @Springwight 6 ปีที่แล้ว +44

    Fun fact - the benefit of this algorithm over bogosort is that while bogosort has O(n!) time complexity in the worst case, it still has O(n) time complexity in the best case! The best case complexity of slowsort on the other hand is w(x^n) for any n. If that's not an achievement, I don't know what is.

    • @smaybius
      @smaybius 3 ปีที่แล้ว +1

      I thought that the time complexity for this one is O(n^log n)

    • @DannyDog27
      @DannyDog27 2 ปีที่แล้ว +5

      Isn’t bogosort technically O(∞) in the worst case since it could theoretically never finish?

    • @ahnafabdullah3342
      @ahnafabdullah3342 ปีที่แล้ว +1

      @@DannyDog27 Bogosort is guaranteed to finish because at least one of the random permutations it creates is the sorted array (or else it's not a truly random if it's avoiding the permutation that is sorted)

    • @DannyDog27
      @DannyDog27 ปีที่แล้ว +2

      @@ahnafabdullah3342 That’s a common misconception about probability. If no one permutation is guaranteed to be the correct one, there is also no guarantee that an infinite number of random permutations will contain the correct one. That’s like saying if you flip six coins there’s absolutely going to be three heads

    • @ahnafabdullah3342
      @ahnafabdullah3342 ปีที่แล้ว

      @@DannyDog27 Probability only makes sense when you have a variable/controllable number of events. Obviously there is no guarantee that you will have 3 heads if you flip 6 coins. But as you flip more than 6 coins, the expected number of heads will rise and the probability that you got 3 or less than 3 heads will become exponentially smaller. Similarly for a list of 100 items, once 100! number of random permutations have been generated, the probability that at least one of them should have been the correctly sorted permutation will now be significantly large and will continue to increase in size, until it becomes something 99.999999%...
      If you only have 100 items, but you generated 9999999! permutations (which is a lot of permutations), to say that you don't have a valid permutation by then is ridiculous. Hence it is not logical to describe the time complexity of bogo sort as O(∞). By definition an algorithm is defined to have a finite number of steps.

  • @虞石
    @虞石 10 ปีที่แล้ว +174

    There is certainly some musical property in this:D

  • @ferociousfeind8538
    @ferociousfeind8538 6 ปีที่แล้ว +42

    "There appears to be no signs of intelligent life anywhere."

  • @asdfghyter
    @asdfghyter 11 ปีที่แล้ว +160

    Sounds like it's laughing at me.

    • @sifonzza
      @sifonzza 10 ปีที่แล้ว +18

      It's sorting jazz :)

  • @Sad-Lemon
    @Sad-Lemon 7 ปีที่แล้ว +86

    Damn need to watch this again, couldn't grasp a shit twas that quick.

  • @fartonaut2291
    @fartonaut2291 6 ปีที่แล้ว +284

    If common core taught you how to sort

    • @seanmathias232
      @seanmathias232 5 ปีที่แล้ว +1

      Fartonaut LoL

    • @JodyBruchon
      @JodyBruchon 5 ปีที่แล้ว +12

      "Sort the numbers by making a ten and counting around while the merry-go-round broke down."

    • @70sman
      @70sman 5 ปีที่แล้ว +4

      dude you don't know anything about common core

    • @dorukayhanwastaken
      @dorukayhanwastaken 2 ปีที่แล้ว +1

      If a dumb education system (not necessarily Common Core IMO) were to teach a sorting algorithm it'd teach the absolute simplest variant of bubble sort (i.e. "repeatedly scan the array for out-of-order pairs and swap them until there are no more out-of-order pairs to swap").

  • @DeathOfDelta
    @DeathOfDelta 4 ปีที่แล้ว +9

    I hate that I can relate to this algorithm on a spiritual level. If you want to know what it's like living with an anxiety disorder, all you have to do is imagine that this is how your brain works.

  • @hanss3147
    @hanss3147 7 ปีที่แล้ว +26

    This one sounds the best out of all of the sorting algorithms

  • @Otakutaru
    @Otakutaru 6 ปีที่แล้ว +28

    It sounds... classical. High and low chords.

    • @好吧-h6k
      @好吧-h6k 3 ปีที่แล้ว

      0:01 - 0:30
      0:58 - 1:25
      1:43 - 1:56

  • @weee50
    @weee50 9 ปีที่แล้ว +94

    This looked like Merge Sort, only 10000000000000000x slower.

    • @bugs.nobunny
      @bugs.nobunny 7 ปีที่แล้ว +2

      we look the same

    • @greenspartanligado
      @greenspartanligado 6 ปีที่แล้ว

      oh hey are you weee50 from discord?

    • @dorukayhanwastaken
      @dorukayhanwastaken 6 ปีที่แล้ว +3

      weee50 It's also in-place, so you can sort giant arrays with this without worrying about memory.
      You might need to wait a year until this sorts such a giant array though...

    • @cyndie26
      @cyndie26 6 ปีที่แล้ว +2

      Doruk Ayhan One could just use heapsort for that. It looks here like someone attempted to design a sorting algorithm, but either added an unnecessary step or forgot to put something out of a loop or recursive method.

    • @jervinsevilla6677
      @jervinsevilla6677 6 ปีที่แล้ว

      It's slow, but not that slow.

  • @okboing
    @okboing 6 ปีที่แล้ว +26

    Me: How quick can you sort 50 objects by size?
    Computer: Hmm. I can do it in 3 minutes with 40000 comparisons.
    Me: WHAT DID YOU DO WITH MY COMPUTER? DID ALIENS TAKE IT?

  • @ubergoodmovies4011
    @ubergoodmovies4011 8 ปีที่แล้ว +59

    This makes some pretty neat music

  • @NovaXP
    @NovaXP 6 ปีที่แล้ว +12

    Bad for sorting, but great for making what sounds like chiptune renditions of classical music

  • @PrimusProductions
    @PrimusProductions 8 ปีที่แล้ว +41

    Mario music in castle when you almost out of time

  • @JodyBruchon
    @JodyBruchon 6 ปีที่แล้ว +8

    This is a damn fine classical piece.

  • @AnActualEmerald
    @AnActualEmerald 10 ปีที่แล้ว +89

    Sounds like hell trying to play jazz or something...

  • @doltifantara
    @doltifantara 10 ปีที่แล้ว +6

    it's great how you have considered a wide variety of algorithms, the silly algorithms are very educational for purposes of compare and contrast

  • @RainDownpours
    @RainDownpours 2 วันที่ผ่านมา

    I keep coming back to this video because of how musical it is. I love how it sounds so somber and how it gets more frantic at the end. Like others said, it sounds like a classical music. I would make a composition based on this if I knew how to!

  • @BradenBest
    @BradenBest 8 ปีที่แล้ว +42

    This video is hilarious for some reason. I dunno, I can't stop laughing.

    • @ferociousfeind8538
      @ferociousfeind8538 7 ปีที่แล้ว +1

      Braden Best it's paranoid the elements might've moved when it wasn't looking...

    • @zlodevil426
      @zlodevil426 3 ปีที่แล้ว

      Same. I always laugh my ass off when slowsort or bogosort comes up during my daily 40-minute sorting algorithm session

  • @mac6na6na26
    @mac6na6na26 3 ปีที่แล้ว +4

    For anyone asking how this sort works, here I’ll explain.
    Well, to start off with, it’s like merge sort, obviously, but instead of just combining the already sorted sections, it does the one that goes in last. The it does the merge sort again sans the last one. And again. And again. And so on until it’s sorted. Basically this means it sorts the ENTIRE LIST every time it puts a singular entry where it should go.

  • @jeanicehoffing8935
    @jeanicehoffing8935 7 ปีที่แล้ว +9

    I'm picking up what this algorithm's laying down
    _smoo-oth_

  • @eggyrepublic
    @eggyrepublic 4 ปีที่แล้ว +5

    A slower algorithm would to create a physics simulation with particle size representing the values and putting all of them in a jar and shaking it until they eventually sort themselves out with the largest particles on top and smallest on the bottom.

  • @paintingjo6842
    @paintingjo6842 10 ปีที่แล้ว +42

    I didn't know something was slower than the bubble sort. oh damn

    • @hellterminator
      @hellterminator 10 ปีที่แล้ว +14

      It's a multiply and surrender type algorithm. It was meant as a joke.

    • @sugarfrosted2005
      @sugarfrosted2005 9 ปีที่แล้ว

      Painting Jo I mean you could make an arbitrarily slow algorithm. Just have it run a pointless algorithm as a subroutine. Stoogesort is also pretty slow.

    • @ilikeoranges4
      @ilikeoranges4 6 ปีที่แล้ว +3

      2 words
      BOGO
      Sort

    • @KingJellyfishII
      @KingJellyfishII 5 ปีที่แล้ว

      @@ilikeoranges4 three (two) words
      Bogobogo sort

  • @soapegg
    @soapegg 7 ปีที่แล้ว +47

    does it have OCD

    • @halfnwhole751
      @halfnwhole751 6 ปีที่แล้ว +17

      No
      It has paranoia

    • @bonedoggle
      @bonedoggle 5 ปีที่แล้ว +7

      ocd would be more like swapping two integers back and forth ten times and starting over if certain completely irrelevant conditions weren't met with every swap

    • @Tonatsi
      @Tonatsi 5 ปีที่แล้ว +3

      Well yes, it was designed to be the least efficient sorting method possible without deliberately making things worse (ergo bogo sort) and being OCD is one way to do that

  • @artemiostriantafyllou7986
    @artemiostriantafyllou7986 3 ปีที่แล้ว +1

    - So, what kind of music do you like?
    - It's complicated...

  • @mlima22
    @mlima22 8 ปีที่แล้ว +37

    Thats real prog \m/

  • @lpsp442
    @lpsp442 4 ปีที่แล้ว +1

    Slowsort has the grandeur of a masterpiece of classical music when given audio form

  • @louiejaychan6980
    @louiejaychan6980 8 ปีที่แล้ว +7

    I love the music.

  • @Crasshopperrr
    @Crasshopperrr 10 ปีที่แล้ว +1

    I'm glad somebody thought to make a slow sort.

  • @TarigonTetradactyl
    @TarigonTetradactyl 5 ปีที่แล้ว +3

    "whats it doing?"
    "its best"

  • @modelvp2405
    @modelvp2405 4 ปีที่แล้ว +1

    Sounds like retro video game music. You could honestly put this in a video game and I would think “yo this shit slaps”

  • @Ambipie
    @Ambipie 4 ปีที่แล้ว +3

    2:56 it took him 3 minutes to calm down

  • @flameblade3
    @flameblade3 5 ปีที่แล้ว +5

    2:50
    *you hear sonic drowning in the distance*
    Me: what the?

  • @hoticeisnice1354
    @hoticeisnice1354 6 ปีที่แล้ว +1

    It’s like fidgeting, it wants everything to be perfect, but the steps to becoming perfect also have to be perfect, and those steps have to be perfect too!!!

  • @stephendrummer1542
    @stephendrummer1542 4 ปีที่แล้ว +3

    Very wonderful inefficient coding I have ever seen, bravo!

  • @YuNoGuy123
    @YuNoGuy123 6 ปีที่แล้ว +15

    how did you get footage of me when walking home?

  • @scratchull
    @scratchull 4 ปีที่แล้ว +1

    Mom: what are you doing?
    Me: watching a sort play with itself

  • @revimfadli4666
    @revimfadli4666 6 ปีที่แล้ว +3

    1:18 sounds like a soundtrack from those old-timey cartoons

  • @hackanimator12
    @hackanimator12 ปีที่แล้ว

    this is the most relatable sorter I've seen

  • @amariiiiiiiiiiiii
    @amariiiiiiiiiiiii 6 ปีที่แล้ว +8

    Thanks for gradually lowering the ms delay. It will take forever if ya didnt.

  • @Bubbad_Hash
    @Bubbad_Hash 4 ปีที่แล้ว +1

    This is some good music, honestly

  • @dbm-yv1gl
    @dbm-yv1gl 6 ปีที่แล้ว +4

    1:26 is when the funny part starts
    1:48 is when it starts to get a little creepy

  • @ferociousfeind8538
    @ferociousfeind8538 7 ปีที่แล้ว

    Slow sort is like a guy trying to get a job as a photocopier, but doing it the photocopier way, one pixel at a time.

  • @howtobeawesome_489
    @howtobeawesome_489 7 ปีที่แล้ว +29

    good God if the aliens find this we are screwed

    • @ferociousfeind8538
      @ferociousfeind8538 6 ปีที่แล้ว +1

      HowToBeAwesome _ "..."
      "..."
      "..."
      "..."
      "Okay but why"

    • @anastasiadunbar5246
      @anastasiadunbar5246 6 ปีที่แล้ว +4

      You don't need to use quotations on that, aliens would basically think we're completely retarded if we presented this algorithm to them.

  • @GoldenGrenadier
    @GoldenGrenadier 6 ปีที่แล้ว +5

    Reminds me of Patrick trying to fix his house up before his parents arrive.

  • @Kyla1112
    @Kyla1112 10 วันที่ผ่านมา

    This sounds like an actual classical music composition; I quite like it.

  • @gregorywasingerjr8084
    @gregorywasingerjr8084 4 ปีที่แล้ว +2

    Elon: How was school kiddo?
    X-AE-A-12:

  • @lemonbirdo1353
    @lemonbirdo1353 7 ปีที่แล้ว +11

    Does the first few, good
    does the second set of few, good
    goes back to the first set .. r u srs?!
    but LOOK MOM IT MAKES MUZIK

  • @NovaAbstract
    @NovaAbstract 2 ปีที่แล้ว +3

    sometimes it can produce some pretty good chords, so i enjoyed listening to this one

  • @Spherey
    @Spherey 6 ปีที่แล้ว +2

    this is art

  • @jaqiqi33
    @jaqiqi33 5 ปีที่แล้ว

    Idk why these were in recommended but they're oddly satisfying to me

  • @Ambipie
    @Ambipie 4 ปีที่แล้ว +1

    When youre good at your job but scared youll screw up

  • @josephjackson1956
    @josephjackson1956 4 ปีที่แล้ว +1

    This is like that OCD person sorting something and has to sort each little section first before moving on.

  • @Al93271
    @Al93271 6 ปีที่แล้ว +1

    Need to watch this again for the 67th time, because why not?

  • @-d3d9ex97
    @-d3d9ex97 5 ปีที่แล้ว

    Random sort is the best, just randomize elements and wait until a1

  • @L00PdeL00P
    @L00PdeL00P 4 ปีที่แล้ว +3

    1:03 sounds like some avant-garde Prog rock kinda music

  • @alexdev6161
    @alexdev6161 7 ปีที่แล้ว +7

    Still faster than Bogo Sort.

  • @sarthakyadav9950
    @sarthakyadav9950 2 ปีที่แล้ว +1

    Man, I didn't knew that Beethoven invented a Sorting Algorithm
    Great👍

  • @pan.matvey_and_more_videos
    @pan.matvey_and_more_videos 11 หลายเดือนก่อน

    Thanks! Slow sort was my favorite!

  • @davemarin7340
    @davemarin7340 4 ปีที่แล้ว

    Multiply and surrender sounds beautiful

  • @charlieferme5274
    @charlieferme5274 4 ปีที่แล้ว

    Quicksort: A revolution
    Mergesort: New beginnings
    Heapsort: Interesting opportunities
    Slowsort: *A f*cking mistake*

  • @morganwilliams5591
    @morganwilliams5591 5 ปีที่แล้ว +3

    2:36 sounds like Delfino Plaza Anxiety Edition

  • @AlecMader
    @AlecMader 3 ปีที่แล้ว

    *POV:* you constantly second-guessing yourself on a simple math problem

  • @hanro50
    @hanro50 11 หลายเดือนก่อน

    The perfect sorting algorithm when you're terrified of space radiation.

  • @RawCuriosity
    @RawCuriosity ปีที่แล้ว

    POV: Me triple checking my code to make sure it didn’t change by it’s self.

  • @mateuszodrzywoek8658
    @mateuszodrzywoek8658 4 ปีที่แล้ว

    Sounds like music for a game where youre travelling thru a dangerous environment

  • @WaterCrane
    @WaterCrane 7 ปีที่แล้ว

    This belongs in a horror movie!
    And the Academy Award for Best Original Score goes to... Slow Sort!

  • @sammiecortese8439
    @sammiecortese8439 7 ปีที่แล้ว +8

    could this algorighm be used to play an audio track at different relative play positions in audacity for example

    • @sammiecortese8439
      @sammiecortese8439 7 ปีที่แล้ว

      also holy fuck this is so fucking agro awesome work

  • @_kijetesantakalu
    @_kijetesantakalu 6 ปีที่แล้ว +2

    It's kind of endearing and cute in a way.

  • @jbuckner343
    @jbuckner343 6 ปีที่แล้ว +2

    2:15 anyone else hear one of the battle songs from Crimson Skies High Road to Revenge?

  • @tocvb232
    @tocvb232 4 ปีที่แล้ว +1

    *NEW MUSIC GENRE BORN RIGHT NOW*

  • @malikmaverikk_79
    @malikmaverikk_79 5 ปีที่แล้ว +1

    I used to play this on my piano all the time

  • @pingkai
    @pingkai 2 ปีที่แล้ว

    This one feels like some fiery electric jazz piece with some Scarlatti attached to it.

  • @binaryorbitals
    @binaryorbitals 5 ปีที่แล้ว

    Someone saw bogo sort and said, “How can I increase the comparisons and array accesses while making it annoying to look at from a human perspective?”

  • @kenneth6211
    @kenneth6211 2 ปีที่แล้ว

    When I turn the video on it’s side as if the black part is a pyramid aiming at the sky I understand the cascade of the scales so much more efficiently

  • @MASTERO400
    @MASTERO400 6 ปีที่แล้ว +2

    Hey! Don't offend Bogo! In the optimistic situation it's the fastest!
    (Don't kill me)

  • @ArtyomR_102
    @ArtyomR_102 ปีที่แล้ว

    0:38 - Casually plays several good chords
    2:39 - Just keeps going

  • @dannyundos8927
    @dannyundos8927 6 ปีที่แล้ว +1

    Wait, Slow Sort doesn't have polynomial runtime? So it is even slower than Stooge Sort? Ridiculous!

  • @moritzs.4769
    @moritzs.4769 6 ปีที่แล้ว

    Best sounding one so far