2.b) Ways to tile a floor || Linear Dynamic Programming

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

КОМЕНТАРІ • 15

  • @manikanth.8507
    @manikanth.8507 3 роки тому +2

    Thanks bhYA for Helpings && Supporting Us.❤️❤️ Literally,You are Legend.

  • @abhishekvishwakarma9045
    @abhishekvishwakarma9045 3 роки тому +1

    when you first solved these kinds of the question how you think of the approach -> I think Lots of practice 😅(Nice Approach)

  • @abhishekranjansingh5348
    @abhishekranjansingh5348 3 роки тому

    You explained it by so perfectly that how this problem gets converted to fibonacci ♥♥

  • @037_sayedramishali7
    @037_sayedramishali7 3 роки тому +1

    Thanx bhaiya bas aap aise hi depth se bhout se ques kara do🙏🙏

  • @sachinsharma905
    @sachinsharma905 3 роки тому +1

    Great Explanation.

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

    GREAT EXPLANATION ❤️❤️

  • @adilkhatri3370
    @adilkhatri3370 3 роки тому

    kya sahi explain kiya hai bhai!!!

  • @hamidansari9331
    @hamidansari9331 3 роки тому +1

    New look

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

    Thank you, the explanation was amazing!!!! I just have one request, please don’t clean the board with your fingers/hands, the ink is not good for your skin. Take care!

  • @rohithchittibommala2002
    @rohithchittibommala2002 3 роки тому

    Nice video

  • @anjumehndiratta1506
    @anjumehndiratta1506 3 роки тому

    Nice

  • @adilkhatri3370
    @adilkhatri3370 3 роки тому

    bhai ye code wrong dekha raha hai gfg pe!!
    def numberOfWays(self, N):
    # code here
    if N == 0:
    return 0
    if N == 1:
    return 1
    first, second = 0, 1
    temp = 0

    for i in range(N):
    temp = first + second
    first = second
    second = temp

    return temp

    • @sachinsharma905
      @sachinsharma905 3 роки тому +1

      This is because you have to return the ans %1000000007.

  • @rishabhgoyal4117
    @rishabhgoyal4117 3 роки тому

    Nice.