There was an error while loading. Please reload this page.
1 parent 9561f64 commit bcc9ee4Copy full SHA for bcc9ee4
1 file changed
Sprint-2/improve_with_caches/fibonacci/fibonacci.py
@@ -6,6 +6,4 @@ def fibonacci(n):
6
return n
7
if n not in cache:
8
cache[n] = fibonacci(n - 1) + fibonacci(n - 2)
9
- return cache[n]
10
- else:
11
+ return cache[n]
0 commit comments