Open yeonghwanjeon opened 5 years ago
문제 풀이
점화식 생각 잘 할 것
class Solution(object): def climbStairs(self, n): """ :type n: int :rtype: int """ one, two = 1, 1 for i in range(n) : one, two = two, one + two return one
문제 풀이
점화식 생각 잘 할 것