Corrected method call

This commit is contained in:
Dheeraj Kumar Barnwal 2017-10-01 22:55:25 +05:30
parent 8b29c6ca1d
commit f6c64409c0

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);
}