Skip to content

Commit e180fac

Browse files
authored
Update 2.py
1 parent 4b83395 commit e180fac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

8/2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 한 번 계산된 결과를 메모이제이션(Memoization)하기 위한 리스트 초기화
22
d = [0] * 100
33

4-
# 피보나치 함수(Fibonacci Function)를 재귀적으로 구현 (다이나믹
4+
# 피보나치 함수(Fibonacci Function)를 재귀하뭇로 구현 (다이나믹 프로그래밍)
55
def fibo(x):
66
# 종료 조건(1 혹은 2일 때 0을 반환)
77
if x == 1 or x == 2:

0 commit comments

Comments
 (0)