• Home
  • Advanced Search
  • Directory of Libraries
  • About lib.ir
  • Contact Us
  • History

عنوان
Dynamic Programming for Coding Interviews :

پدید آورنده
Kamal Rawat.

موضوع
Dynamic programming.,Dynamic programming.

رده
T57
.
83

کتابخانه
Center and Library of Islamic Studies in European Languages

محل استقرار
استان: Qom ـ شهر: Qom

Center and Library of Islamic Studies in European Languages

تماس با کتابخانه : 32910706-025

INTERNATIONAL STANDARD BOOK NUMBER

(Number (ISBN
194655670X
(Number (ISBN
9781946556707

TITLE AND STATEMENT OF RESPONSIBILITY

Title Proper
Dynamic Programming for Coding Interviews :
General Material Designation
[Book]
Other Title Information
A Bottom-Up approach to problem solving /
First Statement of Responsibility
Kamal Rawat.

.PUBLICATION, DISTRIBUTION, ETC

Place of Publication, Distribution, etc.
Chennai :
Name of Publisher, Distributor, etc.
Notion Press,
Date of Publication, Distribution, etc.
2017.

PHYSICAL DESCRIPTION

Specific Material Designation and Extent of Item
1 online resource.

SUMMARY OR ABSTRACT

Text of Note
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 the above recursive function was called 204,668,309 times while computing the 40th term.More than 200 million times? Is it reporting function calls or scam of some government?The Dynamic Programming solution computes 100th Fibonacci term in less than fraction of a second, with a single function call, taking linear time and constant extra memory.A recursive solution, usually, neither pass all test cases in a coding competition, nor does it impress the interviewer in an interview of company like Google, Microsoft, etc.The most difficult questions asked in competitions and interviews, are from dynamic programming. This book takes Dynamic Programming head-on. It first explain the concepts with simple examples and then deep dives into complex DP problems.

ACQUISITION INFORMATION NOTE

Source for Acquisition/Subscription Address
OverDrive, Inc.
Stock Number
9ECA0BC3-36EA-4582-B45A-9900999D87F0

TOPICAL NAME USED AS SUBJECT

Dynamic programming.
Dynamic programming.

DEWEY DECIMAL CLASSIFICATION

Number
519
.
7/03
Edition
23

LIBRARY OF CONGRESS CLASSIFICATION

Class number
T57
.
83

PERSONAL NAME - PRIMARY RESPONSIBILITY

Rawat, Kamal.

ORIGINATING SOURCE

Date of Transaction
20200823064229.0
Cataloguing Rules (Descriptive Conventions))
pn

ELECTRONIC LOCATION AND ACCESS

Electronic name
 مطالعه متن کتاب 

[Book]

Y

Proposal/Bug Report

Warning! Enter The Information Carefully
Send Cancel
This website is managed by Dar Al-Hadith Scientific-Cultural Institute and Computer Research Center of Islamic Sciences (also known as Noor)
Libraries are responsible for the validity of information, and the spiritual rights of information are reserved for them
Best Searcher - The 5th Digital Media Festival