• edited by
1,135 views
3 3 votes
Select the wrong statement from the following given options.

<ol style="list-style-type:upper-alpha"><li>  Dynamic programming is applicable when subproblems are not independent. </li><li>  Divide and conquer algorithm does more work than necessary repeatedly solving the common subproblems </li> <li> Dynamic programming solves each problem exactly once and saves the result into a table.  </li>  <li> Longest path problem has optimal substructure property.  </li></ol>

Please log in or register to answer this question.

Position:
Show:

Related questions

2 2 votes
1 1 answer
851
851 views
Supremo asked Jan 19, 2017
851 views
Consider the following recursive function which is used by dynamic programming.\[T(n)=\left\{\begin{array}{l}0: \text { if } n \leq 1 \\1 ; \text { if } n=1 \\T(n-2)+T(n-...
0 0 votes
1 1 answer
1.5k
1.5k views
Nandkishor3939 asked Jan 22, 2019
1,462 views
My answer came out to be 13:because when we will compute T(13){as we are using Dynamic programming , it will have to compute value of T(12),T(11),…...T(2) only once(as it...
0 0 votes
1 1 answer
1.2k
1.2k views
shruti gupta1 asked Jun 29, 2018
1,226 views
31. Consider the problem of a chain $$ of four matrices. Suppose that the dimensions of the matrices $A_{1}, A_{2}, A_{3}$ and $A_{4}$ are $30 \times 35$, $35 \times 15,1...
1 1 vote
1 1 answer
724
724 views
Yash Khanna asked Mar 25, 2018
724 views
Want help with part (a). Other parts can be done accordingly. According to the solution,I understand how to find the limits of the sum, but why is there a factor of 2 wit...