Question

To discover optimal substructure we must show that an optimal solution to the overall problem provides...

To discover optimal substructure we must show that an optimal solution to the overall problem provides an optimal solution to the subproblems.

True or False

0 0
Add a comment Improve this question Transcribed image text
Answer #1

False

An optimal subproblem to a solution means that for a problem of size n, there are sub problems each of size n' such that solution to all of them provides the solution to the problem to the solution of size n.

A solution has the property of optimal substructure if the optimal solutions to the subproblems can be used to obtain the solution to the given problem. Which means the subproblems should combine and provide the solution to the problem.

But in the question, it is given in the reverse.

Add a comment
Know the answer?
Add Answer to:
To discover optimal substructure we must show that an optimal solution to the overall problem provides...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT