Skip to content
Scan a barcode
Scan
Paperback Dynamic Programming for Coding Interviews: A Bottom-Up Approach to Problem Solving Book

ISBN: 1946556696

ISBN13: 9781946556691

Dynamic Programming for Coding Interviews: A Bottom-Up Approach to Problem Solving

Select Format

Select Condition ThriftBooks Help Icon

Recommended

Format: Paperback

Condition: Good

$7.19
Save $2.31!
List Price $9.50
Almost Gone, Only 3 Left!

Book Overview

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 took about a second. I put a check and was shocked to find that...

Customer Reviews

0 rating
Copyright © 2024 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks® and the ThriftBooks® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured