Merge pull request #119 from dheeraj92/master

Corrected method call
This commit is contained in:
Chetan Kaushik
2017-10-03 14:51:35 +05:30
committed by GitHub

View File

@ -40,7 +40,7 @@ public class Fibonacci {
f = 1;
}
else {
f = fib(n-1) + fib(n-2);
f = fibMemo(n-1) + fibMemo(n-2);
map.put(n,f);
}