Visualization of Quick sort (HD)

  Рет қаралды 858,614

udiprod

udiprod

Күн бұрын

Пікірлер: 561
@BioHzrd0010
@BioHzrd0010 7 жыл бұрын
I like how after it announces that quick sort won, it just lets bubble sort slowly and pitifully complete its sort.
@ninthpayloader0465
@ninthpayloader0465 6 жыл бұрын
Bubble sort is so short sighted he didn’t even see that he lost
@larrykelly8508
@larrykelly8508 4 жыл бұрын
He doesn’t have ears
@Muhammad-sx7wr
@Muhammad-sx7wr 4 жыл бұрын
He might be deaf, he might be blind, but he sure as heck ain't dumb.
@cosmq
@cosmq 2 жыл бұрын
pure gold comment 😂😂😂😂😂
@ChrisSparks-zp8ue
@ChrisSparks-zp8ue 6 ай бұрын
I think if quick sorting loss they won’t know either
@Johnny_Franco-12_Scratch
@Johnny_Franco-12_Scratch 4 ай бұрын
That’s… actually true.
@ImmacHn
@ImmacHn 11 жыл бұрын
Bubble sort will always have a special place in my heart :')
@smortboi2374
@smortboi2374 3 жыл бұрын
When u necropost BP
@ImmacHn
@ImmacHn 2 жыл бұрын
@@smortboi2374 nani?
@multiply67
@multiply67 2 жыл бұрын
@@ImmacHn you're a man
@CrittingOut
@CrittingOut 2 жыл бұрын
me too
@ziskador
@ziskador 9 жыл бұрын
omg i felt so sorry for bubble sort robot at the end :(
@marquizzo
@marquizzo 8 жыл бұрын
+ziska dor Lights are out, everybody's cleared out of their seats and gone home. The janitor is about to ask him to hurry up so he can clean the floor.
@ziskador
@ziskador 8 жыл бұрын
+marquizzo so sad :(
@ProducShuns
@ProducShuns 8 жыл бұрын
+marquizzo He says nothing. Keeps on sorting. Janitor mops around him. Doors open the next day. The celebration finally sounds as he clicks in his last comparison.
@frtard
@frtard 8 жыл бұрын
I felt sorry for it the entire time. Just think about how many balls he had so close to his face...
@Luffi98
@Luffi98 7 жыл бұрын
imagin bogo sort robot :(
@razerage1
@razerage1 7 жыл бұрын
bubble sort be like "I hate my life"
@krzywy8873
@krzywy8873 6 жыл бұрын
xD
@taiyihanle
@taiyihanle 6 жыл бұрын
Bubble Sort be like "I'm doing my job! ^o^ you go here, you go there... and there you go!"
@cboom3205
@cboom3205 5 жыл бұрын
Bruh this is me at me job watching everyone leave as i stay behind to close T_T
@magicstix0r
@magicstix0r 5 жыл бұрын
And we hate bubble sort's life too...
@aemiil5743
@aemiil5743 5 жыл бұрын
bogo: hand me the gun
@granceroblast
@granceroblast 10 жыл бұрын
This has to be the best educational video on sorting I have ever seen!
@luisandre2750
@luisandre2750 6 жыл бұрын
I thought this too. It is amazing seeing how even when you code using comparisons (using if/for/switch) you could have the same output using a more developed algorithm much more quickly.
@randomman7407
@randomman7407 6 жыл бұрын
Hungarian dance sorting is much better Check it out!
@mathguy37
@mathguy37 Жыл бұрын
9 years later we got better
@NachitenRemix
@NachitenRemix Жыл бұрын
​@@luisandre2750i dont understand what u say lmfao, yes computers use if and? That takes some time, its not literally instantanious, it never is, thats why you need optimization and that is what this sorting algorithm does
@hendroyohanes4295
@hendroyohanes4295 6 жыл бұрын
The moral here is to never give up even when you lose
@reda29100
@reda29100 5 жыл бұрын
But you never lose if the match never ends!
@MeistrosLabor
@MeistrosLabor 4 жыл бұрын
The bubble Sort Robot still came to a final Solution even if it took years :) its becauz he didnt gave up
@trenvert123
@trenvert123 4 жыл бұрын
Trump
@uwu.-.5873
@uwu.-.5873 2 жыл бұрын
Bubble sort is me 😔
@scoutintime
@scoutintime Жыл бұрын
the moral here is that bubble sort fucking sucks lmao
@brainboy53
@brainboy53 Жыл бұрын
I like that quicksort isn’t annoying bubble sort and letting him just do his thing. Such a nice guy
@TomTom-gy7ov
@TomTom-gy7ov 8 жыл бұрын
Legend has it that the bubble sort robot is still sorting
@DirkIronside
@DirkIronside 7 жыл бұрын
Now imagine if it was a Bogosort robot!
@Anohaxer
@Anohaxer 7 жыл бұрын
ORST is the alphabetically sorthed correct order
@Anohaxer
@Anohaxer 7 жыл бұрын
By going: Quick Sort Pivot: R S>R = S to the right (Memory) | [S]O T T>R = T to The right | [S]O T S
@paulcasanova1909
@paulcasanova1909 7 жыл бұрын
Tom Tom That would be the Bogo sort bro
@Anohaxer
@Anohaxer 7 жыл бұрын
Lets just do merger sort then SORT = 19-15-18-20 [19][15][18][20] 19>15 [15-19][18][20] 18
@sharpnova2
@sharpnova2 4 жыл бұрын
bubble sort: what is my purpose? me: to sort in O(n^2) bubble sort: omg
@mate_on_f7916
@mate_on_f7916 4 жыл бұрын
Yes
@Muhammad-sx7wr
@Muhammad-sx7wr 4 жыл бұрын
Bubble sort be like, "I thought bigger was always better."
@musicexams5258
@musicexams5258 2 жыл бұрын
Insertion sort intensifies
@slowmotion2300
@slowmotion2300 4 ай бұрын
I thought bubble sort would do 10^2 comparisons
@bitonic589
@bitonic589 3 ай бұрын
​@@slowmotion2300Bro thought bubble sort had constant complexity 💀💀💀
@realeques
@realeques 10 жыл бұрын
so awesome , we spent 45 minutes in college for what we could have learned through this video
@Muhammad-sx7wr
@Muhammad-sx7wr 4 жыл бұрын
Interestingly I discovered bubble sort without being taught it. Only later finding out what it was called.
@MikehMike01
@MikehMike01 3 жыл бұрын
@@Muhammad-sx7wr most people could come up with bubble sort, insertion sort, or selection sort on their own
@Muhammad-sx7wr
@Muhammad-sx7wr 3 жыл бұрын
@@MikehMike01 Things just seemed a bit harder in the 90s and Google was not as reliable. I know however that most people can make these discoveries on their own. I'm just reminiscing with these people how great it felt and yet how far from the mark we were.
@neolord50pro77
@neolord50pro77 Жыл бұрын
@@MikehMike01and to discover things like quicksort or heapsort only through intuition it would require to be an astute mathematician I think.
@MikehMike01
@MikehMike01 Жыл бұрын
@@Muhammad-sx7wr those three are the O(n²) algorithms which aren’t very good but are easily understood
@legendgames128
@legendgames128 2 жыл бұрын
Making computers look cute while also teaching a great concept in a lot of web development? Win-win! Also, noting how the computers are short-sighted is a very good way of describing how computers actually do operations.
@Pigeoncraft
@Pigeoncraft 10 жыл бұрын
What about a bogo sort :P
@derekmallory985
@derekmallory985 9 жыл бұрын
***** ... or the next level : 3 "Bogobogosort is an algorithm that was designed not to succeed before the heat death of the universe on any sizable list. It works by implementing the bogosort on the first two elements in the list. If they are in order, then it bogosorts the first three elements, and so on, increasing by one until the entire list is sorted. Should the list not be in order at any point, the sort starts over with the first two elements."
@v000000000000v
@v000000000000v 9 жыл бұрын
Derek Mallory there's always a chance that it will sucessfully sort tho!!
@ScipiPurr
@ScipiPurr 8 жыл бұрын
Don't forget the king of all inefficient sorts: Worstsort.
@Anohaxer
@Anohaxer 7 жыл бұрын
yeah? well in a comment above im trying to bogo sort the word "sort" alphabetically. I do it in batches of 10, random data gotten from www.superkids.com/aweb/tools/words/scramble/ and now going to my 4th batch
@Anohaxer
@Anohaxer 7 жыл бұрын
kzbin.info/www/bejne/l4m7iIuwatd5bJY&lc=z12xy3dixtf2tn5cg223yfyzxkqdztugn04.1498860895564993 BOGO SORT BRIEF EXPLANATION AND 49-TRY EXAMPLE WITH 4 INTEGER (CHARACTER) VALUES
@udiprod
@udiprod 12 жыл бұрын
Thanks! Currently I'm busy with two other videos (coming up soon), but I appreciate the interest in more sorting videos. I hope to get around to it soon.
@katlicks
@katlicks 4 жыл бұрын
I never knew how Quick Sort managed to have confidence in it's placement without going to the ends first. That cleared it up really easily.
@angelsalvadorcruz7484
@angelsalvadorcruz7484 Жыл бұрын
this is the cutest video i have ever seen in my entire life, after watching so many boring videos trying to explain quick sort, this is a very welcomed treat
@galzigler
@galzigler 7 жыл бұрын
You should make a visualization for all existing sorting algorithm. Your videos are really helpful, and the best that could be find online to explain how the sorts work.
@traso56
@traso56 6 жыл бұрын
different but there you go kzbin.info/www/bejne/oYG1cmONZtB4eck
@solomonprenevost4699
@solomonprenevost4699 5 жыл бұрын
Gravity sort
@anonymoususer9837
@anonymoususer9837 5 жыл бұрын
First off, curse you for having a right-to-left-language username, because replying to those screws up your left-to-right typing if you include it. Second, there are way too many sorting algorithms to explain. Many of them are hybrids (like Timsort), many don't work on these colored balls (like Radix Sort), and many are esoteric (not intended to be actually useful, like Bogosort and Slowsort). That and some of them are just *weird* (like Gravity Sort).
@kenji4861
@kenji4861 8 жыл бұрын
Great video. Kids nowadays have so much good resource
@moogyboy6
@moogyboy6 6 жыл бұрын
Those have got to be the cutest robots I've ever seen. Look at 'em sort!
@Chr0nic1er
@Chr0nic1er 7 жыл бұрын
I am pleased at how accurate the video is. It didn't just count comparisons only, but moved the robots according to performed actions (cycles as it were).
@udiprod
@udiprod 11 жыл бұрын
It places on the ledge a ball from the left side that is designated to be swapped with a ball from the right side. Usually when two elements are swapped, one of them is placed in a temporary location. What's a bit unusual here, is that the element is placed in a temporary location before selecting the ball it should be swapped with. The reason is that the robot has only one free hand (the other one holds the pivot), and putting the ball on the ledge saves moves later when the swap takes place.
@UntakenNick
@UntakenNick 11 жыл бұрын
When I grow up I want to be a sorting robot..
@markhesse4510
@markhesse4510 6 жыл бұрын
Quicksort or Bubblesort or Bogosort?
@manuelsputnik
@manuelsputnik 4 жыл бұрын
How inspirational.
@devrafed
@devrafed 4 жыл бұрын
Are you a grown up now? What are you doing now?
@SkoczekPrRO
@SkoczekPrRO 4 жыл бұрын
@@devrafed he is sorting parcel in postoffice so he is not exactly the robot but some kind.
@Muhammad-sx7wr
@Muhammad-sx7wr 4 жыл бұрын
You need to sort yourself out first.
@nki111-pa
@nki111-pa Жыл бұрын
Props to bubble sort for never giving up. A true inspiration!
@MinecraftLD10
@MinecraftLD10 5 жыл бұрын
I want to hug bubble robot, he deserves it.
@thatalbeeguy
@thatalbeeguy 4 жыл бұрын
KZbin in 2012: Oh, look at him, he is learning algorithms! I should recommend it to him some time later. KZbin in 2020: eah! This just the right time!
@figoprovenza9513
@figoprovenza9513 2 жыл бұрын
Someone has to do an edit of this video with the "The Rock stare" everytime the announcer say balls
@Shimo8_
@Shimo8_ Жыл бұрын
This is the only video that explained quick sort in a way I can understand
@nalankadi1654
@nalankadi1654 4 жыл бұрын
Bubble sort's perseverance is truly inspiring.
@benmoreaucohen
@benmoreaucohen 2 жыл бұрын
Dude I mean why or how, this videos are so old and they are so cool, the quality is genuinely amazing, I love your videos and the educational content they bring, make more!
@thowaway24767
@thowaway24767 9 жыл бұрын
Why don't you give the robot glasses?😊
@TheTurtle-ui4ou
@TheTurtle-ui4ou 7 жыл бұрын
Well, it wouldn't have vision problems anymore, now would it?
@winandfx
@winandfx 7 жыл бұрын
Yeah, Glasses Bubble Sort is the fastest. Scientists should invent it.
@sonicfire9000
@sonicfire9000 6 жыл бұрын
I see what you did there...
@youtubeismycity
@youtubeismycity 5 жыл бұрын
@@miksuko omg
@MinecraftLD10
@MinecraftLD10 5 жыл бұрын
jeffrey Presley Well who designed their vision sensors so near sighted in the first place? *If your into robotics at all, you’ll get this.*
@davieskamanda6622
@davieskamanda6622 Жыл бұрын
This is the best educational video I've ever seen. I think using numbers in place of the balls could make the whole process more clear, for in the competition it is difficult to follow what is going on.
@sapitron
@sapitron 11 жыл бұрын
What a painstaking process should have been to animate that contest. hats off.
@AquaDavie
@AquaDavie 5 жыл бұрын
The lore behind all these sorting videos I’ve been binge watching
@colossalgamesofficial7947
@colossalgamesofficial7947 4 жыл бұрын
Super relaxing
@AsbjornGrandt
@AsbjornGrandt 10 жыл бұрын
Bubble Sort cheated at the end. It didn't compare the last two...
@udiprod
@udiprod 10 жыл бұрын
It's actually not cheating. Bubble sort has an optimization that if in a certain iteration all the pairs are in order, then it concludes no further iterations are needed. It most likely happens in the one of the final iterations, but with luck it can happen early. If you give bubble sort an already sorted list, it will stop after one iteration. Therefore if bubble sort and quick sort competed over on already sorted list, bubble sort would win.
@AsbjornGrandt
@AsbjornGrandt 10 жыл бұрын
udiprod I didn't suggest that it should have run an additional iteration. It just never compared the last two balls, before marking them sorted. It checked the second and third, and then assumed the first was in order, marking all three at the same time.
@brands2131
@brands2131 10 жыл бұрын
Asbjørn Grandt That's because all 3 were already sorted. Ok, let me explain, and also to the other people that liked your comment. In the end, we had a section that was already sorted, the balls that were lit up, and a section that was unsorted, the 3 balls at the end. When bubblesort went to sort out the last 3 balls, it compared the first 2, no swap was made, then it compared 2 and 3, and no swap was made. We have bubblesorted the unsorted section, no swaps were made during that iteration, now we can assume that the unsorted section has been sorted (since there were no swaps) this is because an efficient bubblesort has a "swap" flag that is turned on if a swap was made, since we ran through the 3 unsorted balls, without turning on this flag, then bubblesort knows all element in this unsorted section are sorted. You can see this at 3:05 where bubblesort checked all 3 balls in the unsorted section and did not make any swaps, leaving the swap flag down, meaning we can stop the algorithm early.
@AsbjornGrandt
@AsbjornGrandt 10 жыл бұрын
Brandon Sandoval I can see that now that I rewatched that part
@SimonTiger
@SimonTiger 5 жыл бұрын
@Asbjørn Grandt Hehe...it's because already knew the list was sorted! How? The last pass it performed was: "Swap 1 2? No. Swap 2 3? No." If it's all no's, all the smaller elements are already on the left, and the bigger ones on the right, meaning that the list is already sorted.
@confused6526
@confused6526 8 жыл бұрын
udipod, I just accidentally ran into your video. They're all great. You don't mind telling me what tool/software your used to create the animation? Or your write it yourself? Thanks John N.
@udiprod
@udiprod 8 жыл бұрын
+confused Thanks :) I'm using a tool called Autodesk Maya. It's very powerful but not easy to learn.
@confused6526
@confused6526 8 жыл бұрын
+udiprod ! Thanks a lot for the info. You're done a great job of explaining computer/physics concepts. Keep up with good works. Can't wait to see more of your videos. Have a nice day! John N.
@zork34
@zork34 6 жыл бұрын
you don't have to write comments like letters
@SiddharthJogi
@SiddharthJogi 6 жыл бұрын
@@zork34 😂😂lmao right
@uknownada
@uknownada 5 жыл бұрын
@@zork34 Although it's probably the easiest way to get a reply from a channel like this.
@billbill8852
@billbill8852 4 жыл бұрын
Nearly 1am and KZbin recommends this out of the blue. And I watch it anyway. Thus is life.
@deanmoncaster
@deanmoncaster 4 жыл бұрын
Even though I knew the outcome before they started I still wanted bubble sort to win. They're so cute!
@alexlion0511
@alexlion0511 3 жыл бұрын
"this robot is short-sighted and can only compare balls when they're right in front of its' eyes"
@ahmde
@ahmde 5 жыл бұрын
Just WOW, this visualization is on another level!
@poliopoptm4474
@poliopoptm4474 7 жыл бұрын
boy this new series of battlebots is going great.
@pa20065
@pa20065 Жыл бұрын
The BubbleSort guy is smarter: he lets the other guy win, so he isn't bothered with these stupid tasks anymore!
@nathanj.williams1955
@nathanj.williams1955 4 жыл бұрын
More insightful than meets the eye. Tiny training video to algorithms. Cool CGI.
@zapole
@zapole 7 жыл бұрын
I remember when I learned Java and my teacher expected us to do plan and program such a thing like "bubble sort", but we did it with buckets as long as I remember :)
@syrilfiggus1350
@syrilfiggus1350 11 жыл бұрын
Ahhh, so Sorting competitions are going to be what replaces sports when the robots take over. Very informative.
@shaner217
@shaner217 12 жыл бұрын
Amazing video. I always thought there should be a visualization program that visualizes computer code algorithm in a nice way like you've done here for these sorting algorithms, it could have a visual that shows how data is being passed around and manipulated in the computer code or perhaps computer networking. Maybe you're the guy who should make them! Thanks again for the awesome vid.
@yiwen6794
@yiwen6794 5 жыл бұрын
Who watched till the end? That bubble sort deserves some attention
@Densmoreb1
@Densmoreb1 2 жыл бұрын
The robot is not the only one that needs balls close to its eyes
@FiendishFatty
@FiendishFatty 2 жыл бұрын
Is it just me or I just binge watch all of these sorting analysis videos
@Quent1500
@Quent1500 5 жыл бұрын
Thx, you saved my engineering diploma.
@valied8131
@valied8131 6 жыл бұрын
This is the quality aesthetic i signed up for.
@asj3419
@asj3419 8 жыл бұрын
9_in 11_order. 4_the 6_of 8_sentence 3_sort 5_words 1_Hello, 7_this 2_please 10_acending
@themandel2017
@themandel2017 7 жыл бұрын
Hello please sort this sentence in ascending order.
@anonymoususer9837
@anonymoususer9837 7 жыл бұрын
Counting sort 😀
@k_tess
@k_tess 7 жыл бұрын
I think you gave me OCD.
@groszak1
@groszak1 6 жыл бұрын
I'll start with a swap 8_sentence 11_order. 4_the 6_of 9_in 3_sort 5_words 1_Hello, 7_this 2_please 10_acending
@QuartzOfficial
@QuartzOfficial 6 жыл бұрын
Hello, please sort the words of this sentence in ascending order
@Quarker
@Quarker 12 жыл бұрын
Yay you let Bubble Sort finish this time! Btw, if you were able to make more videos like this on other sorting algorithms, it'd be extremely helpful!
@anikkhan8811
@anikkhan8811 3 жыл бұрын
Quick sort made the best comeback in history!
@withbestrequest
@withbestrequest 7 жыл бұрын
Your visualizations are awesome! This is how educational material should be like!! thnx
@eliaszkurwa
@eliaszkurwa Жыл бұрын
i got distracted when i heard "balls"
@GretgorPooper
@GretgorPooper 7 жыл бұрын
This is an adorable way to explain algorithms to kids
@teaguejelinek4038
@teaguejelinek4038 4 жыл бұрын
I think bubble was just a little nervous. With a name like quick sort as the opponent I would have been too. Good job both of u
@Clement-xy9iv
@Clement-xy9iv 7 жыл бұрын
Nice explanation!
@EgorBo
@EgorBo 5 жыл бұрын
Give those robots already sorted data and we will see who is better ;-)
@OddworldCrash
@OddworldCrash 11 жыл бұрын
I'm learning this for Visual Basic and i was very moody till i saw this video. Awesomely made :D
@Broockle
@Broockle 8 жыл бұрын
These are fun to watch. Though I think all these approaches could all be explained in a single video. That would be nicer than having to watch all these Separate Great job making this random subject engaging though :D
@nicflatterie7772
@nicflatterie7772 6 жыл бұрын
Wow, I wish I had this sort of video when I was in CS in college. Great work, great channel!
@Adomas_B
@Adomas_B 4 жыл бұрын
Bogosort is also a very great sort, it can sort completely randomised stack in one move! If you're astronomically lucky
@ricksminecraft
@ricksminecraft 5 жыл бұрын
Wow! Excellent Visualization. Cool.
@iagoabreu6986
@iagoabreu6986 4 жыл бұрын
The year is 2020 and the bubble bot is still sorting the balls
@robbierotten2215
@robbierotten2215 8 жыл бұрын
Winner! Bubblesort is like, I don't give a crap, gotta finnish this s_t.
@channelname10yearsago68
@channelname10yearsago68 4 жыл бұрын
Don't feel sad for the bubble sorting bot. He's doing his best
@RaymanChrome
@RaymanChrome 4 жыл бұрын
What about Cocktail Shaker Sort?
@SarenArterius
@SarenArterius 11 жыл бұрын
radix sort pls
@anonymoususer9837
@anonymoususer9837 5 жыл бұрын
Radix is very powerful, beating even quicksort and mergesort if the keys in the sequence are short enough, but it takes a lot of memory, stinks on longer keys, and only works on numbers (so no colored ball sorting). If you want to go all the way, counting sort is even faster than radix in an optimal set of elements, but it only works on positive integers (similar to radix but it can't even hypothetically handle decimals), takes even more memory than radix (as much memory as the biggest element), and is even slower if the biggest element is too big (even if the other elements are smaller).
@krisizcelja
@krisizcelja 5 жыл бұрын
I want to see the base 10 one. You know, the ear rape one?
@toddkes5890
@toddkes5890 4 жыл бұрын
@@anonymoususer9837 Ball colors can be expressed in 'brightness'. For example, the above spheres can be '000000' for the pitch black one, and 'FFFFFF' for the brightest one. From there, Radix can sort the balls
@matitiudeforever8155
@matitiudeforever8155 6 жыл бұрын
all heroes don't wear capes...you guys are one of them....thank you soooo muchhhhh...!!
@mrpowershell6900
@mrpowershell6900 6 жыл бұрын
I was watching historical youtube video's on how WWI started and ended here. Quick sort wins.
@Hao-gc3dp
@Hao-gc3dp 11 жыл бұрын
Awesome animations! Hoping you could make videos on other sorting algorithms.
@tarcal87
@tarcal87 9 жыл бұрын
Look at him go :D all the way to the end. Give it up buddy
@sanxchepsharma7149
@sanxchepsharma7149 5 жыл бұрын
how dare you you talk to a robot who is physically and mentally handicapped. TAKE IT BACK
@horseliver338
@horseliver338 11 жыл бұрын
This was so cute, it made me cry, thank you
@SyuAsyou
@SyuAsyou 7 жыл бұрын
泡沫排序法:找到最亮的球,然後排到最亮的位置;接著找到次高的球,然後排到次亮的位置。重複以上步驟直到排完最暗的球。 快速排序法:隨機選出一個球當作基準,然後比較每一顆球,比基準亮的球移到亮邊,比基準暗的球移到暗邊,最後的空位就是基準的位置。排完後排列被分成兩個較小的排列,分別對較小的排列重複以上步驟直到排完。
@Dadax9398
@Dadax9398 6 жыл бұрын
ok
@gavincurtis
@gavincurtis 4 жыл бұрын
If you overclocked Bubble’s reduced instruction set, he could win.
@valrabellkeys9867
@valrabellkeys9867 5 жыл бұрын
Great video, explains the algorithm quite well!
@dicidicee
@dicidicee 10 жыл бұрын
Very original and well done !
@Vlcet
@Vlcet 11 жыл бұрын
Nice video with clear demonstrations.
@thehammurabichode7994
@thehammurabichode7994 4 жыл бұрын
"I hurt myself today" - Bubble Sort
@groszak1
@groszak1 6 жыл бұрын
There are several different pivot rules for quick sort, such as random pivot you used, first pivot, last pivot, middle pivot and median of three (median of first, middle and last pivot).
@reformed_attempt_1
@reformed_attempt_1 4 жыл бұрын
This deserves 500M, not 500k views
@seaque.
@seaque. 4 жыл бұрын
Never give up king
@dude_ranvier
@dude_ranvier 6 жыл бұрын
Great video and animation
@DylanCVlogTV
@DylanCVlogTV 4 жыл бұрын
Kind of like sorting students for abilities. If you go one by one, it's nearly impossible, but grouping them and testing them in batches is much more efficient.
@陳有容-l6c
@陳有容-l6c 4 жыл бұрын
The first algorithm is more likely selection sort than bubble sort
@marinadavies1917
@marinadavies1917 5 жыл бұрын
Please do more of these
@metacross2826
@metacross2826 5 жыл бұрын
Bubble sort robot is doing his best
@metacross2826
@metacross2826 3 жыл бұрын
Hello, old me
@offchan
@offchan 5 жыл бұрын
Though people might have mistaken that quicksort is just slightly quicker than bubble sort from this animation because you only showed it on 10 items. But in reality, quicksort can be tremendously quicker if the number of items is in order of millions or billions. It can mean that bubble sort uses a year while quicksort uses 10 minutes.
@udiprod
@udiprod 5 жыл бұрын
Right you are. There's a visualization of this difference you mention in a more recent video (near the end): kzbin.info/www/bejne/iou1iIWgppd2d8k
@pga128
@pga128 10 жыл бұрын
This channel is quality.
@shripperquats5872
@shripperquats5872 3 жыл бұрын
god, I hate how these are 'intuitively' explained. By using the simplest explanation they think it makes it more 'palatable', but what really happens is the parameters are not understood and the example is lost. When someone hears the example "The robot has short vision", their immediate thought would be "Well why don't they make a robot that can see all the balls clearly?"
@Sebastian1011
@Sebastian1011 12 жыл бұрын
Awesome video; helped a lot in my AP Computer class!
@linsproul3548
@linsproul3548 6 жыл бұрын
so this is how robots keep themselves entertained
@szymon12w.64
@szymon12w.64 Жыл бұрын
"Sort theese balls"
@irenerosejohnson8346
@irenerosejohnson8346 4 жыл бұрын
These cute fellows are making things simple, abstract and adorable ❤️👍
@martinbalage9225
@martinbalage9225 5 жыл бұрын
“The End. Thank you for watching” before bubble sort taking a break...funny, and cruel.
@finite-element
@finite-element 11 жыл бұрын
Hi, I bought your book for kindle! What a nice read!
@lennytheburger
@lennytheburger 5 жыл бұрын
hey can you visualize how radix base 10 just pulls an already sorter array out of the next dimention
@MemeManDan20
@MemeManDan20 4 жыл бұрын
Would love to see a video on bogo sort
@KrisAkaVenno
@KrisAkaVenno 10 жыл бұрын
This video is so helpful! Thank you!
Merge Sort vs Quick Sort
5:34
udiprod
Рет қаралды 1,3 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН
The Singing Challenge #joker #Harriet Quinn
00:35
佐助与鸣人
Рет қаралды 42 МЛН
When u fight over the armrest
00:41
Adam W
Рет қаралды 30 МЛН
World’s strongest WOMAN vs regular GIRLS
00:56
A4
Рет қаралды 48 МЛН
Visualization of Radix sort
7:02
udiprod
Рет қаралды 65 М.
The Bubble Sort Curve
19:18
Lines That Connect
Рет қаралды 660 М.
Quicksort: Partitioning an array
4:48
KC Ang
Рет қаралды 591 М.
Visualizing 70 Sorting Algorithms
29:24
Kuvina Saydaki
Рет қаралды 203 М.
Insertion Sort vs Bubble Sort + Some analysis
5:17
udiprod
Рет қаралды 326 М.
The Sudoku Trick All Expert Solvers Know
17:53
Cracking The Cryptic
Рет қаралды 3 МЛН
Quicksort Algorithm: A Step-by-Step Visualization
9:32
Quoc Dat Phung
Рет қаралды 66 М.
Visualization of Tidal Forces
13:34
udiprod
Рет қаралды 92 М.
Proof That Computers Can't Do Everything (The Halting Problem)
7:52
Learn Quick Sort in 13 minutes ⚡
13:49
Bro Code
Рет қаралды 387 М.
Глюк на моем iPhone 16 Pro Max
0:26
ТЕХНОБЛОГ ГУБАРЕВ СЕРГЕЙ
Рет қаралды 1,3 МЛН
Как подключить магнитолу?
0:51
KS Customs
Рет қаралды 2,1 МЛН