Jump to ratings and reviews
Rate this book

Dynamic Programming for Coding Interviews: With Advance Problem-Solving

Rate this book
On a computer, where the non-recursive Dynamic Programming solution to compute the n'th Fibonacci term takes 1 second to find the 40th term, the corresponding recursive solution will take approximately 56 hours to find the same 40th Fibonacci term.
It is because the small innocent-looking recursive solution of Fibonacci takes exponential time, whereas the DP solution takes linear time.
Dynamic programming questions are the most difficult to answer in competitions and interviews. In most coding competitions, a recursive solution will not pass all test cases. This book takes a direct approach to dynamic programming.

251 pages, Kindle Edition

Published March 19, 2023

4 people are currently reading

About the author

Kamal Rawat

16 books2 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
1 (50%)
3 stars
0 (0%)
2 stars
0 (0%)
1 star
1 (50%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.