You are climbing a staircase. It takes n steps to reach the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
We solve this problem using dynamic programming.
Discussed two approaches for memoization - one is the built-in python lru_cache and another one is using our own dictionary as memory
#leetcode 70
Nesta página do site você pode assistir ao vídeo on-line Climbing Stairs Problem | dynamic programming | Python | Coding interview question duração online em boa qualidade , que foi baixado pelo usuário CodeSmart 05 Outubro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 234 vezes e gostou 7 espectadores. Boa visualização!