Added: 3 years ago
From: johnzwarich
Views: 42,443
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (156)

Sign In or Sign Up now to post a comment!
  • Inventor of the web 6.0??

  • She's so smart!

  • Atchuuuuuuuuum!

  • Brute Forcing it like a baws xD

  • Oops. Logic error!

  • 0:25 bug in the program :))

  • Pretty smart to look at infants for learning algorithms.

  • Plz don't Post the Source code.. 'cause U'll be charged for nudity..!! >.>

  • process of elimination, nice logical start, some people don't even have that ability in their 30s

  • O(n^2) efficiency :D

  • Incredible. Love it.

  • She should take an IQ test.

  • Makes heapsort and quicksort look bad ;D

  • 00:25 : epic fail :P

  • @88Cortex jajaj la wea pesá

  • Comment removed

  • @88Cortex hahahaha true that

  • Haha great vid, your description is also so leet :P

  • Clever clever and beautiful little girl.

  • clever

  • Adorbz and clever at the same time, she'll probably be a brilliant scientist or engineer :)

  • I think that she actually is not so much "sorting" them, but just following the most obvious pattern. The sorting is implicit.

    My prof once demonstrated "analog sorting". He took a bunch of different-in-length sticks into a bundle, used the planar surface of the desk to align them on one side, making their differing lengths obvious.

    So humans have an analog understanding of "sorted" patterns. The urge to neatly fit the boxes into each other to complete the pattern implicitly sorts them.

  • nice :)

  • wow, reminds me a lot of programming classes.

  • Maggie is a genius :)

  • aannchhhuuuu.....

    u need to do some exception handling too....

  • a programmer she will be!!

  • She was pretty smart at 19 months!

  • isNextLargest() does seem rather important. Maggie Sort has a level of randomness that most sorting algorithms don't have. Any idea on the Big-O category?

  • @wwahammy O(1). Maggie's lifespan is limited by a (hopefully big) constant.

  • @wwahammy

    By having a level of randomness it could cause it to be an infitine loop, no?

  • Bless, she's confused because there are no dot NET bindings.

  • So cute. She will be a programmer, no doubt :P

  • the skills we have as adults and take for granted now took many hours of this as a child to figure out.

    The human mind at work... fucking amazing.

  • sweet :D

  • looks like a variation on merge or heapsort to me

  • nice :D

  • she's the tiger woods of sorting. that's amazing to watch her go to work. :)

  • @directorwvp2 :

    should she be offended? :D hehehe.. Anyway, she's amazing.. I love how our brains are analytical and logical, right from birth.. :)

  • btw, the sneeze was adorable!! :P

  • Aaaaw

  • Your daugher should study dynamic programming :D. So sweet, thanks for the video.

  • So, its better than O(n!), right?

  • I'd wager it is still much faster then bubble sort.

  • This is so, so impressive. I was having a similar discussion with a Programming Methodology professor at my university. He told me: "My 2 year old nephew programs better than you guys". We were discussing that before development of the brain, babies can perfectly solve simple sorting and mathematical algorithms.

    Your daughter is really impressive, you should really give her more and more difficult geometrical problems so she can explore more algorithms!

  • I found myself cheering or shouting advice. Odd.

  • Very adorable and brilliant.

  • Didn't know that puzzle can be solve with binary logic!!

  • Shes very good

  • I bet she's learned to sort them even quicker by now... good job Maggy!

  • Runtime error at 0:43

  • hahahaaa

  • Give her some lego. I think its the best thing for promoting spatial intelligence, especially at a young age.

  • Very impressive little one....

  • Gezz at that age I was using my blocks as hats.

  • :D that's brilliant for 19 month!!

  • I need to study this baby in my lab.

    Excellent.

  • definitely going to be a smart one.

  • sweet

  • you can tell how she is confident in the correct answer at 0:55, since she has tried all of the possible comparisons by then.

  • Hax!

  • ahahaha xD u made me lol :D

  • WTF??????? wish my parents did this with me when i was growing up

  • Can you post the source code?

  • smart kid.

  • she's very cute! And clever indeed, did not repeat any comparison!

  • 0:22 and 0:30

  • Comment removed

  • rofl she's more efficient than most of my codes.

  • very clever girl indeed :)

  • LOL

  • Aaaah, she's the cutest little girl I've seen.

  • I think it only runs in O(n²) ... but who else has invented a new sort algorithm with 19 months :D

  • hahahah... That was so adorable!

  • hahha...luved how she sneezed in the process

  • Good job Maggie!

  • AWESOME.

  • @ Maggie: "Bless you."

    Wow, this one's smart...

    I had one of these for a minute but mine was not so sharp and didn't last long...couldn't even feed itself.

  • It's not just stacking but ordering at such age!

    She is so smart... congratulations!!!

  • she just needs to get the randomness out of the part where she chooses the piece to which she applies the isNextLargest()-function. She tried one even twice, that's gonna slow down the whole thing with larger sets :D

  • I had a toddler once. It encountered an infinite loop. :(

  • You just have to hit Ctrl-C :D

  • I hope that when I have a kid, he/she can do it in O(n.log n) LOL

    Smart and cute girl! Congratulations for you!

  • wow, that's one smart girl you have! incredible.

    and it almost conforms perfectly to an O(n^2) time! haha.

  • Good job maggie!!! ha ha .. and a sneez.

  • That's fantastic! Amazing how algorithmically she works! :D

  • is this normal for her age?

    i dont think so

  • programmers daughter

  • Awesome! I am looking forward to my youngster being old enough for stacking blocks.. Nearly a year away at the moment though...

  • It looks the idea is simply "find the box that fits tightly".

  • it is unbeliavable, how the kids are smart. You know nothing about life and physics and still you are able to sort things out. And you know what is awesome - that she knows what to do without telling her. She knows that she is supossed to do something with the boxes...it is simply amazing

  • Cool watching her little mind work. You can really see she has a plan. Smart kid! CUTE TOO!

  • this kid is a genius

  • she so adorable...putting those little boxes into big boxes! how cute

  • ACHOOOMMMMNNN!!

  • could write a program the same as this.

    Actually no I couldn't

    *sad face*

    I could try, but fail, even though I can understand the code.

    I just have no patience...

  • absolutely hypnotic. a fascinating early human mind.

  • gesundheit!

  • America needs more parents like these ones. That is one smart little girl!

  • yes, yes indeed

  • haha nicee, grtz ;)!

  • hahaha, that's hilarious! I've actually worked with programmers who've used the same algorithm ;)

    What a clever little girl!!

  • *achoo* Aww!!!

  • She seems to repeat comparisons unnecessarily. For that matter, there's no need to use a comparison sort on a data set like this. Flunk.

  • You are just jealous she is getting all the attention, lol.

  • WOW,, she is so smart

  • This is EXACTLY how we should grow and socialise our children. Congrats mom and dad.

  • Very nice Maggie!

  • Got there in the end!

    Very Sweet

  • hahahaha

  • Good Job, Maggie!

  • hahaha!!! isNextLargest() function.

    That kills me.

  • Hahahah, this is fantastic. I love the human mind. Kids are so fun.

  • Holy shit, are you sure your daughter is only 19 moths old? :O

  • good job Maggi :)

  • I see a PhD in your future! Good Job!

  • Great job

  • LOL nice, I detect nearest neighbor volume sort. I can imagine next video will use bubble-sort algorithm, while blowing bubbles of course.

  • Has any research been done to find out the efficiency of this algorithm?

  • some one please explain the significance in this. and the alg.

  • bless you !! loool

  • Wonderful. Shes beautiful e very smart.

  • WOW, cute, lovely!!! Congratulations.

  • she´s so cute!!!! amazing!

  • she practically mimicked an actual sorting algorithm.

    Computer scientist in the making!

  • She understands the fit, probably not the size.

  • wow that's pretty amazing, she's going to be a genius when she grows up

  • Boxes sorted...now what do I do?

  • Aww, that's both impressive and cute.

    @emmbor87, I agree with John - unless you're a specialist in this area you should keep your uninformed comments to yourself.

  • source code plesh,

  • Let's see.. By ignoring constants, we should have:

    - Bubble sort algorithm: n^2 => ~64 steps (avg)

    - Quick sort algorithm: n log n => ~24 steps (avg)

    - Optimal algorithm: n-1 => 7 steps

    - Maggie sort algorithm: took 16 steps only

    I'd say this is a surprisingly good algorithm for a child at this age! Good job Maggie ;)

    Btw, did anyone notice her cute sneeze @ 0:41?

  • For fun, I had her do this again now that she is 2.5 years old. Order(n+1) now. Not truly sorting anymore. She has this problem cached to disk.

  • It geniunely makes me happy that you were able to reproduce.

  • Maybe you should gradually introduce more complex problems for her to solve.

    I suggest that she starts playing with 15-puzzle and then towers of hanoi and after that minesweeper and later pehaps, rubik's cube.

    You never know, but your child could be a computer science prodigy. I think Donald Knuth is proud of her already.

  • @IamTheWeakest I wish YT had a "favorite comment" option, so I could favorite this comment of yours.

  • That sneeze was an IRQ.

  • We can then assume sneezing shorten the solution.

    import nose

  • All kidding aside (eventhough the comments were among the greatest a Youtube video ever had)....That is amazing.

  • On an after thought it seems to be a derivative of a bubble sort algorithm, but rather insuring the next item is in order, and then taking this new grouped bubble and shifting with accordance to the next test.

  • It appears she is working with two stacks.

    One stack containing the pre-randomized data

    and another sorted order stack using the first in last out principle.

  • Regarding the random function: I found this a little frustrating. At times I was shouting at the screen: "NO NO NO!! CAN'T YOU SEE THAT'S NOWHERE NEAR THE NEXT REQUIRED SIZE!!!" Perhaps I get too involved in these things. YouTubers will be pleased to know that I have no plans to procreate.

  • What I thought was interesting is that she had an algorithm very clear in her head, but didn't yet use internal visualization to plan. Her execution depended entirely on physical experimentation. She's an empiricist!

  • XD Very true.

    Amazing. She could tell by feel. That's just incredible. I would guess she would just put one on top of another and disregard the order. I'm impressed... She should get a cookie or something =P

  • where i can download the source code for this algorithm? :D

  • If you realized Moore's law for your sorting units, and doubled their count in a year and a half, you could parallelize the sort. I'll bet there would be much deadlock and race conditions in their algorithms though.

  • If this situation were repeated in a week's time, would she use a similar technique? What about a month? A year? I bet there's a PhD somewhere in there.. :)

  • To be honest, she has lost interest in the blocks. It's a lot harder to keep the attention of a 2.5 year old compared to a 1.5 year old.

  • Ah kids, both the bane and inspiration for wannabe psychologists everywhere.. :)

  • aww

  • She's clearly using a spacial sort search. Future comp-sci major?

  • cute!

  • It seems based on a random function, I'd say best case: O(n), worst case: O(infinity), average probabely around O(n^2).

  • Good job Maggie!

  • so its that nlogn ? haha loved the video?

  • Hi! Love how you give your child the initive! Yes! I'd like your promision if its possible to utilise this amazing child/awarness footage for a visual arts exhibition? The theme has to do with animal & human simularities based on respecting their Inner-sense/innocense! It would be an honour to educate others on your childs behalf! The footage would be extremely wonderful to share( Maggies perspective) with animal thinking process as to child motor skills etc.

  • @mullerfree Sure thing. Keep me posted.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more