Master Method to Solve Recurrences - Overview

Поділитися
Вставка
  • Опубліковано 14 жов 2024
  • 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.o...
    -------------------------
    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/g...
    *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.

КОМЕНТАРІ • 21

  • @liliaoakeley4402
    @liliaoakeley4402 Рік тому +37

    Didn't really understand anything but thanks, goat

    • @prodbylenn
      @prodbylenn Рік тому +5

      real

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

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

  • @charliewalsh6890
    @charliewalsh6890 6 років тому +2

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

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

    yep, I'm not understanding this ever 😂

  • @wren4741
    @wren4741 4 роки тому +4

    what is lg?? Log base 10?

    • @alanm.4986
      @alanm.4986 4 роки тому +9

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

  • @R3MIXMODZ
    @R3MIXMODZ 4 роки тому +1

    Wow! Great explanation! Thank you!

  • @YWJ3
    @YWJ3 8 днів тому

    GOAT

  • @BrunisPistol
    @BrunisPistol 6 років тому +10

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

    • @KeithGalli
      @KeithGalli  6 років тому +7

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

  • @levizjaperdije8499
    @levizjaperdije8499 4 роки тому +2

    Thanks a lot >"

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

    THANKS

  • @hyper_sa
    @hyper_sa 8 місяців тому +4

    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 6 місяців тому

      real

  • @raykos4257
    @raykos4257 Рік тому +5

    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 6 місяців тому

      andddd, nobody cares what you think

    • @aliahsan507
      @aliahsan507 12 годин тому

      @@Legacy64 Your dismissal would sting if it weren’t coming from the ambassador of inconsequence. But do carry on :D

  • @mr.cheeseweenie6947
    @mr.cheeseweenie6947 4 роки тому

    Mum says master method is whips n chains n glu tho

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

    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 11 місяців тому +3

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