Climbing Stairs - Leetcode 70 - Dynamic Programming (Python)

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024
  • Master Data Structures & Algorithms for FREE at AlgoMap.io/
    Code solutions in Python, Java, C++ and JS for this can be found at my GitHub repo here: github.com/gah...
    Complete DSA Pathway Zero to Hero: • Data Structures & Algo...
    Please check my playlists for free DSA problem solutions:
    • Fundamental DSA Theory
    • Array & String Questions
    • 2 Pointers Questions
    • Sliding Window Questions
    • Binary Search Questions
    • Stack Questions
    • Linked List Questions
    • Tree Questions
    • Heap Questions
    • Recursive Backtracking...
    • Graph Questions
    • Dynamic Programming (D...
    My Data Science & ML TH-cam Playlist: • Greg's Path to Become ...
    Learn Python and Data Science FASTER at mlnow.ai :)
    Support the content: / @greghogg
    Follow me on Instagram: / greghogg5
    Connect with me on LinkedIn: / greghogg
    Follow me on TikTok: / greghogg5
    Coursera Plus: imp.i384100.ne...
    My Favorite Courses:
    Data Structures & Algorithms:
    - UCalifornia San Diego DSA: imp.i384100.ne...
    - Stanford Algorithms: imp.i384100.ne...
    - Python Data Structures: imp.i384100.ne...
    - Meta Coding Interview Prep: imp.i384100.ne...
    Python:
    - UMichigan Python for Everybody: imp.i384100.ne...
    - Python Mastery from MLNOW.ai: mlnow.ai/cours...
    - Google IT Automation w/ Python: imp.i384100.ne...
    Web Dev / Full Stack:
    - Meta Front-End Developer: imp.i384100.ne...
    - IBM Full Stack Developer: imp.i384100.ne...
    - Meta Back-End Developer: imp.i384100.ne...
    - John Hopkins HTML, CSS & JS: imp.i384100.ne...
    - IBM DevOps: imp.i384100.ne...
    Cloud Development:
    - AWS Fundamentals: imp.i384100.ne...
    - GCP Cloud Engineer: imp.i384100.ne...
    - Microsoft Azure Fundamentals: imp.i384100.ne...
    Game Development:
    - Michigan State Unity Development: imp.i384100.ne...
    - UColorado C++ for Unreal Engine: www.coursera.o...
    SQL & Data Science:
    - SQL by MLNOW.ai: mlnow.ai/cours...
    - Python for Data Science by MLNOW.ai: mlnow.ai/cours...
    - Google Data Analytics: imp.i384100.ne...
    - IBM Data Science: imp.i384100.ne...
    - IBM Data Engineer: imp.i384100.ne...
    Machine Learning & AI:
    - ML Mastery at MLNOW.ai: mlnow.ai/cours...
    - ML w/ Andrew Ng: www.coursera.o...
    - Deep Learning w/ Andrew Ng: imp.i384100.ne...

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

  • @GregHogg
    @GregHogg  หลายเดือนก่อน +1

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

  • @acanadianfry2539
    @acanadianfry2539 3 หลายเดือนก่อน +7

    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 3 หลายเดือนก่อน +4

    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  3 หลายเดือนก่อน

      Really glad to hear it!

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

    Please complete this DSA playlist first. VERY HELPFUL

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

      First before what?

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

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

    • @GregHogg
      @GregHogg  27 วันที่ผ่านมา

      Glad to hear it 🙂

  • @servantofthelord8147
    @servantofthelord8147 2 หลายเดือนก่อน

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

  • @angiecarolcabreraherrera1486
    @angiecarolcabreraherrera1486 2 หลายเดือนก่อน

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

    • @GregHogg
      @GregHogg  27 วันที่ผ่านมา

      Miro :)

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

    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.

    • @GregHogg
      @GregHogg  3 หลายเดือนก่อน +1

      Wow that's actually insane

    • @user-jm6gp2qc8x
      @user-jm6gp2qc8x 22 วันที่ผ่านมา

      Yo what the f

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

    Would tail recursion also be helpful in this case?

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

      Isn't really necessary but you probably could

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

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

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

      Yes you can

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

    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().