Alex Shen
Search
CTRL + K
Alex Shen
Search
CTRL + K
Home
Algorithms MOC
games MOC
Home
Templates
default.template
g-dead cells
g-enter the gungeon
g-hades
g-noita
g-peglin
g-realm of ink
g-roboquest
g-slay the spire
g-tiny rogues
priori analysis
tags::
type:: Leetcode_Solution
in::
Algorithms MOC
Leetcode 70 - Climbing Stairs
its fib
make a dp array and fill initial conditions, then stop when you reach index n and return the value
Dynamic Programming