Skip to main content
PBS logo
 
 

Search - Dynamic Programming for Coding Interviews: A Bottom-Up approach to problem solving

Dynamic Programming for Coding Interviews: A Bottom-Up approach to problem solving
Dynamic Programming for Coding Interviews A BottomUp approach to problem solving
Author: Meenakshi, Kamal Rawat
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 wait? and wait? — With an 8GB RAM and an Intel i5 CPU, why is it taking so long? I terminated the process and tried computing the 40th term. It...  more »
ISBN-13: 9781946556691
ISBN-10: 1946556696
Publication Date: 1/16/2017
Pages: 142
Edition: 1
Rating:
  ?

0 stars, based on 0 rating
Publisher: Notion Press
Book Type: Paperback
Members Wishing: 0
Reviews: Amazon | Write a Review


Genres: