Skip to content

Commit 0f3d6ac

Browse files
committed
์ˆ˜์ •
1 parent 5b028f3 commit 0f3d6ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

โ€Žclimbing-stairs/socow.pyโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# ๋ฌธ์ œ๋‚ด์šฉ
22
# ํ•œ๋ฒˆ์— 1์นธ ๋˜๋Š” 2์นธ์„ ์˜ค๋ฅผ์ˆ˜์žˆ์Œ ์ •ํ™•ํžˆ n์นธ์— ๋„๋‹ฌํ• ์ˆ˜์žˆ๋Š” ๋ฐฉ๋ฒ•์ˆ˜๋ฅผ ๊ตฌํ•˜๋ผ
33
# ๊ณ„๋‹จ ๋ฌธ์ œ = ํ”ผ๋ณด๋‚˜์น˜ ์ˆ˜์—ด
4+
45
class Solution:
56
def climbStairs(self, n: int) -> int:
67
# 1์นธ ๋˜๋Š” 0์นธ ๊ณ„๋‹จ์€ ๋ฐฉ๋ฒ•์ด 1๊ฐ€์ง€๋ฟ

0 commit comments

Comments
ย (0)