Skip to content

Commit f5eaa62

Browse files
authored
Update 85-3.py
1 parent 86cc046 commit f5eaa62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

5-algorithms/ch23/85-3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Solution:
55
dp = collections.defaultdict(int)
66

77
def fib(self, N: int) -> int:
8-
self.dp[0] = 1
8+
self.dp[0] = 0
99
self.dp[1] = 1
1010

1111
for i in range(2, N + 1):

0 commit comments

Comments
 (0)