Recurrence Relation Iteration Method

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 16

  • @sonalishanbhag
    @sonalishanbhag 4 года назад +5

    best video ever thank you!

  • @ethioblogmusic
    @ethioblogmusic Год назад

    easy and understandable video ......u got my sub

  • @cy7602
    @cy7602 3 года назад +2

    thank you so much!!!

  • @Adrian-xl8mr
    @Adrian-xl8mr 2 года назад

    Thank you!! I finally get it

  • @dimitririvera5738
    @dimitririvera5738 5 лет назад

    Do you have any tips on how to determine if you should use a summation or just add the last bits of the equation? For instance,
    𝑇(𝑛) = 4𝑇 (
    𝑛/2) + 𝑛, 𝑇(1) = 1
    The third iteration is eventually
    64𝑇 (
    𝑛/8) + 7𝑛
    So instead of using a summation, the authors just added the 4n, 2n, and 1n. I hope this question makes sense. And thank you so much for the amazing videos!!

    • @janehuang2067
      @janehuang2067 11 месяцев назад +4

      master theorem may help

  • @omaramgad8764
    @omaramgad8764 2 года назад +1

    thank you :)

  • @mostafanasser3065
    @mostafanasser3065 2 года назад +5

    Did not understand anything from the last minute of the video how it become 2*3n-1 ?????

    • @Shubhampalzy
      @Shubhampalzy Год назад +3

      yoo bro , just make the denominator common on both sides (i.e. 2 in this case)

  • @AnandKumar-um1kw
    @AnandKumar-um1kw 5 лет назад +2

    What is the time complexity for this?

    • @prat-man
      @prat-man 4 года назад +9

      O(3^n) you noob

    • @kettleghost3721
      @kettleghost3721 3 года назад

      @@prat-man how do i know that? do i just take the variable related with n in this case?

  • @stefanmagardino234
    @stefanmagardino234 Год назад

    too many ads

  • @stefanmagardino234
    @stefanmagardino234 Год назад

    watched more ads for the Super Bowl

  • @omaramgad8764
    @omaramgad8764 2 года назад +1

    thank you :)