Climbing Stairs - Leetcode 70 - Dynamic Programming (Python)

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

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

  • @GregHogg
    @GregHogg  4 месяца назад +1

    Master Data Structures & Algorithms For FREE at AlgoMap.io!

  • @acfry
    @acfry 6 месяцев назад +10

    this question cooked me, i ended up doing combinatorics (finding the number of ways to arrange 1’s and 2’s at each possible combination of 1 and 2) before i realized it was just fibonacci

  • @rjrjenem4486
    @rjrjenem4486 6 месяцев назад +5

    I took my algorithms class last semester and this is so good. Algorithms is the best part of CS in my opinion. Great video

    • @GregHogg
      @GregHogg  6 месяцев назад

      Really glad to hear it!

  • @zhihangcheng1083
    @zhihangcheng1083 Месяц назад

    This is the best tutorial that I saw, first time I clearly understand how different approach worked. (And how to convert between them)

  • @julietruong2059
    @julietruong2059 2 месяца назад

    Thank you for this alternate approaches and explaining each line out. Really helps my understanding!!

  • @Ambatakummmmm
    @Ambatakummmmm 2 месяца назад +3

    tysm. You're better than neetcode for sure.

    • @incameet
      @incameet 2 месяца назад

      Yeah, Neetcode presents a very confusing video for this problem!

  • @AKSHAT150
    @AKSHAT150 13 дней назад

    First video that helped my understand this intuitively. Thanks Greg! Kudos ❤

  • @hrushirajg9991
    @hrushirajg9991 4 месяца назад

    Greg thank you so much, I couldn't find understanding dp so easily anywhere else

    • @GregHogg
      @GregHogg  3 месяца назад

      Glad to hear it 🙂

  • @meghachoudhary3394
    @meghachoudhary3394 6 месяцев назад +3

    Please complete this DSA playlist first. VERY HELPFUL

    • @GregHogg
      @GregHogg  6 месяцев назад

      First before what?

  • @angiecarolcabreraherrera1486
    @angiecarolcabreraherrera1486 4 месяца назад +2

    Great explanation, what app are you using for drawing ? thankss a lot !

  • @servantofthelord8147
    @servantofthelord8147 5 месяцев назад +1

    This is so good! I'm just starting to learn about DP and it's not as intimidating as reddit made it seem 😂😂

  • @khoilucas5480
    @khoilucas5480 6 месяцев назад +1

    Can you use the Binet formula? I know it is just approximate but at least it takes O(logn) time complexity

    • @GregHogg
      @GregHogg  6 месяцев назад +1

      Yes you can

  • @aakashs1806
    @aakashs1806 6 месяцев назад

    Attended one interview, always I get problems I never come across or didn't study or cover it. One interview asked my leetcode Id, and then changed sample questions on the topics I didn't cover.

  • @xingyuxiang1637
    @xingyuxiang1637 6 месяцев назад

    I probably will not keep hitting the same hardware parts. I will not worry too much about operations research, either. I will use clear_cache().