Master Theorem Visually Explained

Поділитися
Вставка
  • Опубліковано 22 гру 2024

КОМЕНТАРІ • 82

  • @stefano3618
    @stefano3618 7 місяців тому +7

    In 5:26 I haven't understood why the index of the sum is from j=0 to log b (n-1) rather than j=0 ti log b (n) - 1

    • @larsquentin8249
      @larsquentin8249  6 місяців тому +3

      Sorry for the late reply. Because the last/n-th term are the leaves, which are the term afterwards, i.e. Theta(n^(log_b(a)))

    • @stefano3618
      @stefano3618 6 місяців тому +2

      It' s fine. I mean if we don't consider the last level in the summation we should do height minus 1, with height = log_b(n), so the minus 1 is outside the bracket. Correct me if I am wrong

    • @larsquentin8249
      @larsquentin8249  5 місяців тому +7

      @@stefano3618 Didn't see it again haha. Yes, you are completely correct, it should be
      sum_{j=0}^{log_b(n)-1}
      I've pinned your comment for everyone else. Thank you so much!

  • @chinglemba9136
    @chinglemba9136 Рік тому +53

    it's a crime that your channel does not have millions of subscribers. THANK YOU for this

  • @abhirup619
    @abhirup619 Рік тому +23

    Everywhere I searched they just used the formula or showed how to use the formula! This is EXACTLY what I was looking for. Brilliant work

  • @LarryBordo
    @LarryBordo 2 роки тому +21

    I had a really hard time understanding the Master Theorem when I was studying Algorithms so long ago. You've made understanding this complex formula so much easier. Thank you.

  • @xLany
    @xLany Рік тому +9

    Lars why are you so cool. This is one of the best algorithm teaching videos I've ever seen in my life. I’m relearning Master’s Theorem at 2am right now. Every couple mins I audibly say “what the f!!!” and pause the video to take agitated paces around the room because something you said just blew my mind again. Thank you for the clear explanation, the visualization, the scattered meme-ry, and the montage of cool applications at the end (I dropped so many "what the f"s going through that). Above all THANK YOU for all the time and care you put into this video, it is a cut above everything else I've seen!!!

  • @stark.aritra
    @stark.aritra Рік тому +3

    I have never seen such an eloquent explanation of the master theorem in books or any videos, hats off.

  • @tauheedakbar3781
    @tauheedakbar3781 Рік тому +6

    absolutely beautiful work, really appreciate all the hard work you clearly put into this

  • @AyanKhan-dc3eu
    @AyanKhan-dc3eu Рік тому +3

    Best video on master's theorem ! Thank You so much for this.

  • @sarumanork-orphanage5612
    @sarumanork-orphanage5612 3 місяці тому

    Look at this graph! Perfect! Just as I was nodding off, you caught my attention again!

  • @redj_dev
    @redj_dev Рік тому +1

    confirmed best vid on YT about this. Saved my homework grade ty bb

  • @grigorismavridakis7972
    @grigorismavridakis7972 Місяць тому

    After spending at least 3 hours checking the rest links you shared to get the basics I was able to understand this video. Kudos for the great work. Really appreciate it. Unfortunately, in academic level, there is the attitude of trying to confuse someone instead of explaining and this is where gems like this video bring light to the journey of Algos 😁

  • @tatox2167
    @tatox2167 11 місяців тому +1

    brrrruuuuh you need to create more videos this was awesome

  • @stefano3618
    @stefano3618 6 місяців тому

    thank you so much for the video. I really appreciate it: the topic is well and CLEARLY explained with fantastic animation.

  • @maxschikofski251
    @maxschikofski251 Рік тому +1

    Very well visualised. Good Job, Lars!

  • @hayden4127
    @hayden4127 4 місяці тому

    you explained master theorem 10 times better than our CS professor, this is soooo underrated!

  • @speedwagon1524
    @speedwagon1524 Рік тому

    You saved my Master's Degree! Thanks Lars, I love you!!!

  • @bigbrainmonkeh
    @bigbrainmonkeh 4 місяці тому

    This is such a great and helpful video. Very clear explanation... thanks Lars!! 🙌

  • @Troonald
    @Troonald 10 місяців тому

    I LOVE YOU LARS THIS HAS BEEN SO HELPFUL

  • @dreaddy_bear
    @dreaddy_bear 2 місяці тому

    so helpful! and you cited your sources!! T_T 🐐🐐🐐 thanks.

  • @Tiniku
    @Tiniku Рік тому

    where have you been all my life. thank youu!

  • @brunomoreira6416
    @brunomoreira6416 9 місяців тому

    please make more videos, engaging, easy to understand and funny, great job!

  • @phillipsmith4220
    @phillipsmith4220 Рік тому

    What an incredible video. I would have saved so much time if I had found this video first! Thank you so much.

  • @samarthtandale9121
    @samarthtandale9121 Рік тому

    Really awesome explanation brother ... kudoes!!! You diserve so many subs!

  • @fynalph
    @fynalph 5 місяців тому

    Thanks for the Video Lars. It helped me a lot.

  • @emanabdelhaleem7561
    @emanabdelhaleem7561 11 місяців тому

    This is just amazing work!
    Thank you so much.

  • @kingshukcs
    @kingshukcs 11 місяців тому

    Very good presentation and I loved your style of teaching!!

  • @yunoletmehaveaname
    @yunoletmehaveaname Рік тому

    Omg please post more videos. I love this!

  • @arniedeb2305
    @arniedeb2305 Рік тому

    Holy fuck this is high quality, I'm surprised you don't have more subs

  • @williamyang8408
    @williamyang8408 6 місяців тому

    This is so op wtf how do you only have 300 subs

  • @王里昂-g9t
    @王里昂-g9t Рік тому

    nice video man! Good explaination on the master theorem!

  • @aryan-y4o6n
    @aryan-y4o6n 10 місяців тому +1

    I think you are a kind person

  • @lukam.7575
    @lukam.7575 Рік тому

    great video, well explained and well made, making it very easy to visualize the concepts being apllied to the problems.

  • @jmagmdc
    @jmagmdc 3 місяці тому +1

    2:50 Nickelback.. this made my day

  • @powermax6391
    @powermax6391 9 місяців тому

    first time finally understanding it, thanks a lot

  • @ejsafara456
    @ejsafara456 Рік тому

    this is such a good explanation! :D thank you, i finally understand ^^

  • @johnwang41
    @johnwang41 Рік тому

    U are amazing, I hope u can continue to do this, it is wonderful viode.

  • @aryan-y4o6n
    @aryan-y4o6n 10 місяців тому

    brilliantly explained

  • @kevalgandhi9162
    @kevalgandhi9162 Рік тому

    Best Video so far on MT

  • @Ned_.
    @Ned_. 8 місяців тому

    great video, thanks bro

  • @a.m.4154
    @a.m.4154 10 місяців тому

    3:55 - "what is the depth of our tree?" - No such thing exists. You have the depth of a node, the height of a node, and the height of a tree.

    • @ilayohana3150
      @ilayohana3150 8 місяців тому

      🤓even professors would say the depth of the tree to refer to the deepest point of the tree

  •  9 місяців тому

    What a great video!

  • @hainsh
    @hainsh 5 місяців тому

    Damnnn I love these channels with horrible mic but extraordinary content

  • @7phanthony8
    @7phanthony8 3 місяці тому

    yeeeaaaah this explanation is glorious.

  • @sonikaagarwal931
    @sonikaagarwal931 7 місяців тому

    why do you only have one video??? i was so hoping to look at more :( but thanks anyway! great video

  • @wyatt3112
    @wyatt3112 10 місяців тому

    This is amazing. Thank you so much, Lars. Do you post videos anywhere else? I am studying "Introduction to Algorithms" by Cormen right now in school but I am much more a visual learner. Does anyone have any good playlists or outside resources to help with this material? I know a lot of folks really take to Abdul Bari's videos but I don't understand his explanations as easily as others seem to.

  • @lethalbacon3299
    @lethalbacon3299 Рік тому

    Please! PLEASE MAKE NEW VIDEOS ABOUT OTHER COMPUTER SCIENCE TOPICS! This video war really great and I understood the Theorem!

  • @meghj7900
    @meghj7900 12 днів тому +1

    brooooo you are coooll af

  • @haiphan8360
    @haiphan8360 11 місяців тому

    Time-efficient at its best!

  • @maxbill1921
    @maxbill1921 Рік тому

    This is Wonderfull.... Best explanation

  • @JS-dn9cr
    @JS-dn9cr 9 місяців тому

    make more vids pleaseeeeee this is god tier

  • @gabriel-oc4pt
    @gabriel-oc4pt Рік тому

    bro I owe you one THANK YOU

  • @RyanNene-g9k
    @RyanNene-g9k 2 місяці тому

    Thanks Lars Quentin!

  • @silentco2254
    @silentco2254 Рік тому +1

    can you provide your code for the animation in manim I am new to manim and I would really learn a lot from you

  • @wannabehuman.production
    @wannabehuman.production 6 місяців тому

    May you live a long happy life

  • @sillaceestekay2069
    @sillaceestekay2069 Рік тому

    You sir are a legend!

  • @visionz831
    @visionz831 Рік тому +1

    3:16 What does he say here ? Subtitles please

    • @theali8oras274
      @theali8oras274 Рік тому

      automatic subs help.
      they get it right at 3:16

  • @bryanshaong2333
    @bryanshaong2333 10 місяців тому

    Where more video, hw due tmr , need help

  • @notchicken
    @notchicken Рік тому

    This makes things so clear. Wow.

  • @mostafayounes9490
    @mostafayounes9490 9 місяців тому

    Thank You❤

  • @wolfgangamadeusmozart3200
    @wolfgangamadeusmozart3200 Рік тому

    Why you have ONLY ONE video ???

  • @xash3000
    @xash3000 11 місяців тому

    Thank you

  • @anik._.
    @anik._. Рік тому

    brilliant

  • @spooki9813
    @spooki9813 11 місяців тому

    dude thank you for this video i explained this to some autistic girl at a party and she went home w me :)

  • @theali8oras274
    @theali8oras274 Рік тому

    thank you for this , my prof is garbage and im having a hard time with math

  • @justavine487
    @justavine487 Рік тому

    Very strong video. You could have a bigger audience if you also uploaded your videos in german ;)

  • @gabut1839
    @gabut1839 9 місяців тому

    YOUR VIDEO IS AMAZING, BE CONSISTENT AND ULL BLOW UP SIR!

  • @JenniRocket
    @JenniRocket 2 роки тому +1

    Damn man I finally really get it 😂

  • @AyushKumar-me2mm
    @AyushKumar-me2mm 2 дні тому

    Fucking amazing

  • @neutral_positron
    @neutral_positron 4 місяці тому

    I think the only problem is your accent is hard to understand for the masses. Otherwise I see no reason why you don't have at least 500K subs.

  • @rea5782
    @rea5782 2 роки тому

    Notification gang ☑ we lit 🔥

  • @adityagujaria2598
    @adityagujaria2598 2 роки тому

    Hey nice video.!!!

  • @lars1597
    @lars1597 Місяць тому +1

    al gore rizzms

  • @ellenkoning3491
    @ellenkoning3491 Рік тому

    to few people have seen this!

  • @srinivasbodduru4263
    @srinivasbodduru4263 4 місяці тому

    bro work on the accent a little bit it is a little hard to understand

  • @mikhailwebb8377
    @mikhailwebb8377 Рік тому

    I see that you are trying to explain as best as you can, but I still don't understand. The other videos on UA-cam for Master Theorem are also garbage.