Master Method ( incl. Step-By-Step Guide and Examples ) - Analysis

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • Thanks for subscribing!
    ---
    This video is about the Master Method for solving recurrences; a utility method for e.g. divide and conquer algorithms.
    In the video the following concepts are explained:
    - Master Method / Master theorem.
    - When to apply the Master Method (based on the general recurrence relation form).
    - A step-by-step guide on how to apply the Master Method.
    - How to prove that the regularity condition is true in case 3.
    - An example exercise for each of the cases that exist in the Master Method ( thus 3 exercises ).
    ---
    If you thought this video was useful, make sure to give it a like!
    If you want to support this channel, make sure to subscribe.
    If you have any questions, use the comment section.
    This video has been published by MisterCode.

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

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

    The best tutorial I have seen on this subject so far. Thank you!

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

    This is best video on this topic I have seen. Our book is great if you have 5 years to ponder the theory of algorithms in your free time, but just tell me how to do the problem, and at least that way we are moving in a positive direction. You are good dude for making this. Thank you.

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

      Damn right haha

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

      thanks for this bro

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

      CLRS?

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

      It's been five years, how's your theory of algorithms coming along?

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

    Probably the best explanation I've ever seen. Most of these professors/videos just do the problem without any explanation.

  • @ldxyz-s1e
    @ldxyz-s1e 7 ปีที่แล้ว +70

    3:30 rules
    4:44 algorithm
    7:16 task 1
    9:19 task 2
    11:22 task 3

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

    This is absolutely the best tutorial on the master method I have ever found. I didn't understand it at all until I watched this. thank you.

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

    Honestly this is such a helpful guide on how to solve Master's method problems! Thank you!

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

    Great video!! Thanks so much!
    So:
    Case 1: If f(n) < n ^(log ᵦ(a)) then T(n) = O(n ^(log ᵦ(a)))
    Case 2: If f(n) = n ^(log ᵦ(a)) then T(n) = O(n ^(log ᵦ(a))(log(n))
    Case 3: If f(n) > n ^(log ᵦ(a)) then T(n) = O(f(n)) plus check regularity condition

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

    This video is WAY better than any of the other ones Ive seen. WAYYY better, great work

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

    Thank you very much for this. It's very logical, easy to follow, and well explained without diving too much into unnecessary details. Very straightforward! Kudos to you!

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

    This is a really good video on the topic that I was kinda iffy about though understood the general concept of it, it cleared up some of the confusion I had for it, it looks clean, the narrator is concise and unmuffled, well done

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

    Thank you so much! Best tutorial on Master method by far. Love this step by step approach. You have made it look so easy with step by step.

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

    Best video on solving recurrences. I'm glad you made it!

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

    Crystal clear! Thank you.

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

    Exactly what I needed, thank you!!!

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

    Honestly, thank you. Watched your video and was able to make sense of everything fairly quickly.

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

    This is the best video of its kind on youtube, you're a great teacher!!

  • @nikftw.
    @nikftw. 8 ปีที่แล้ว +1

    Thanks for your help, this video is the best explanation I can find on the subject. You deserve more views!

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

    I learned so much! thank you very much for taking the time!

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

    Thanks you! Much better than my lecturer!

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

    very clear, understood with no difficulty. thanks

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

    This was the best tutorial I've seen on this topic, Thanks a lot!

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

    A great tutorial on this topic, I finally understood it. Thanks for making this!

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

    Damn good explanation......something as simple as explaining the comparison with the epsilon added or subtracted cleared up all of my confusion.

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

    very clear! thank you for listing these steps!

  • @Village-Heritage
    @Village-Heritage 6 ปีที่แล้ว +1

    EXACTLY WHAT I WAS SEARCHING FOR SINCE AGES, best video on the subject of Master Theorem, I hope you make more videos regarding time complexity problems

  • @NamanGupta-ik2or
    @NamanGupta-ik2or 6 ปีที่แล้ว

    The best tutorial so far. Thank you!

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

    You are a legend. Thank you!

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

    Best video, with a step-by-step explanation. Thank you

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

    That's what I searched for! Thank you so much, you made this topic for me much easier than I thought of it previously. Cheers! :)

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

    Du hast mich gerettet, danke dir!!

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

    very good explanation! thank you for your work!

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

    thank you. Very helpful!

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

    Very detailed explanation. Thanks so much

  • @asdasd-jg1re
    @asdasd-jg1re 3 ปีที่แล้ว +15

    Why can't my university class be really straightforward like this? my professor is usually making stuff extra hard to understand with unnecessary details we probably don't even need to know

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

    Just amazing! Such great video !!! Really thanks! My best regards!

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

    amazing! thank you!

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

    you saved my life mate. thanks for a lifetime.

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

    amazing tutorial on this subject. Thanks so much man!

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

    you are the best, you made it very easy to understand. Thank you!

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

    Best tutorial So far I found for the analysis of Master Theorem!! Keep it up

  • @JosephDefendre
    @JosephDefendre 8 หลายเดือนก่อน +1

    thats was a damn good video! this is how I wish I was though the master method the first time

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

    I was so confused when studying the master method in class until I watched this. Thanks!

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

    Thanks for the tutorial. Is really helpful.

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

    Really great video, explaining simple and straight the master theorem! Thank you very much, it helped me a lot to understand it! Keep going my friend!! :)

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

    Best Video about the Master Theorem this video helped me two times now :D.

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

    Very good summary and guide! Thank you.

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

    Have an exam on this tomorrow and I figured it out 5 minutes into the video. Thank you so much

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

    2 Hours University Lecture covering this < 16 minutes video XD Thanks a lot! I understand much more now!

  • @YG-up8by
    @YG-up8by 7 ปีที่แล้ว +1

    very well explained, thank you!!

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

    this was a fantastic explanation, thank you so much man.

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

    Thank you this helped a lot!

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

    Thanks a lot man.... this is crystal clear explanation....

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

    This helped me so much, Thank you!

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

    17min > 1 college class

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

    Thanks! This was very helpful.

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

    amazing video, thanks

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

    this helped alot, thank you very much!

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

    One of the best tutorial save my life

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

    Nice, actually helped me understand for my algorithms course -- thanks.

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

    Very clear and easy to understand. Thank you.

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

    Thank you! best explaination!

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

    God bless you. This video is a LIFE SAVER! Thank you SO MUCH.

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

    Thank you so much this was incredibly helpful

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

    Great explanation of Master Methods. Really helped me out!

  • @FabianaLima-vc8pd
    @FabianaLima-vc8pd 5 ปีที่แล้ว +1

    thank you so much! that was very helpful

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

    very well explained.. i could finish my assignment after watching this video. Thank you so much. God bless

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

    this is an awesome video for anyone to learn masters method . please post more videos like this!!

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

    Thank you Sir,for the clear explanation, awesome 🥰🙌

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

    Nice example 1 I understood perfectly well. Good job man, thanks.
    Got a test tomorrow and the masters theorem will definitely be part of it.

  • @user-pb2xj3he1e
    @user-pb2xj3he1e 5 ปีที่แล้ว +1

    great tutorial many thanks!

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

    this video is amazing, thank you very much :)

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

    solid tutorial. liked and subscribed

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

    very helpful!!! Thanks.

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

    thanks , helped me alot.

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

    I understood this way better than the 1 hour 30 minutes I wasted in class

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

    Really helpful thanks

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

    Awesome video! It helped me out a bunch

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

    Thank you!!

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

    Good explanation and nice content. After watching your video I'm able to solve my assignment on the Master method.

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

    Great job !

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

    Thank you!

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

    Thank's guy, this explanation is perfect for such slow-witted guy like me. Now I take the course of algorithms but understand very little from them. Now I understand a lot of master method and will be looking for other topics in your channel.

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

    helped a lot thank you

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

    Nice video! Even non-IT-guy ,as me, can understand the idea. Thank you!

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

    wow , this explanation is much better than the one my lecturer in my collage gave me ! grate job .

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

    Best tutorial ever

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

    the best tutorial for masters theorem

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

    Awesome!

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

    Awesome... This helped a lot...

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

    Thank you very much!

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

    Simply Perfect

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

    This is an awesome video!!!!!!!!!

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

    Currently studying for algorithms test! thanks!

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

    Thanks a lot it was really helpful :)

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

    Best tutorial :)

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

    Clearly tutorial, thank you for help me out :)

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

    Thanks a lot :)

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

    this is great

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

    i really impressed thanks so much sir

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

    Thank u very much!