Dynamic Programming for Coding Interviews
Meenakshi, Kamal Rawat
epub可获取Notion Press · 2017
评分 暂无 · 人数未知
I wanted to compute 80th term of the Fibonacci series. I wrote the rampant recursive function,
int fib(int n){
return (1==n || 2==n) ? 1 : fib(n-1) + fib(n-2);
}
and waited for the result. I wait… and