Master Method to Solve Recurrences - Overview

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.พ. 2017
  • In this video I give an overview on how to solve recurrences using the master method. The master method provides a great way to solve a lot of recurrences. However, if your recurrence does not meet any of the 3 cases you will have to use other means to calculate your runtime such as the recursion-tree or substituion method. In future videos I'll give examples of all 3 methods in practice.
    The rules are summarized on Wikipedia:
    en.wikipedia.org/wiki/Master_...
    -------------------------
    Follow me on social media!
    Instagram | / keithgalli
    Twitter | / keithgalli
    -------------------------
    If you are curious to learn how I make my tutorials, check out this video: • How to Make a High Qua...
    ⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! www.kite.com/get-kite/?...
    *I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.

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

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

    Wow! Great explanation! Thank you!

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

    Didn't really understand anything but thanks, goat

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

      real

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

      @@prodbylenn so felt i'm trying to figure out how to use them

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

    do you know how to solve this type of recurrences Τ(n)=κT(n/a) + λT(n/b) +f(n) ?

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

    Thanks a lot >"

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

    THANKS

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

    what is lg?? Log base 10?

    • @alanm.4986
      @alanm.4986 3 ปีที่แล้ว +6

      lg(n) is just a shorthand way of writing the binary base. In other words, lg(n) = log₂(n)

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

    Would be a lot more helpful if you did an example or two with real numbers instead of variables

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

      I have two other videos on my channel that do use real numbers!

  • @hyper_sa
    @hyper_sa 4 หลายเดือนก่อน +2

    Why God didn't create me with a talent i would be happy if i came as a rapper or something why do i need to do this sh!t

    • @tmr5302
      @tmr5302 3 หลายเดือนก่อน

      real

  • @emperor8716
    @emperor8716 4 หลายเดือนก่อน

    yep, I'm not understanding this ever 😂

  • @mr.cheeseweenie6947
    @mr.cheeseweenie6947 4 ปีที่แล้ว

    Mum says master method is whips n chains n glu tho

  • @raykos4257
    @raykos4257 8 หลายเดือนก่อน +2

    You clearly dont understand the concept well enough to actually explain it. This video, along with most all on this topic, illustrate exactly what is so wrong with our modern education system. Students are rewarded for uncritically and thoughtlessly regurgitating algorithms, without having any actual critical thinking or understanding behind the formulas themselves. This causes grade inflation and lopsidedly rewards the parrots over those who sincerely want to learn.

    • @Legacy64
      @Legacy64 3 หลายเดือนก่อน

      andddd, nobody cares what you think

  • @zstar8397
    @zstar8397 9 หลายเดือนก่อน

    Hey hope you are doing alright just I wanna say that
    GOD loved the world so much he sent his only begotten
    son Jesus to die a brutal death for us so that we can have eternal life and we can all accept this amazing gift this by simply trusting in Jesus, confessing that GOD raised him from the dead, turning away from your sins and forming a relationship with GOD. :)

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

    you explain it just like my teacher did, in a way that I still don't comprehend 🫠