<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Dynamic programming - Page 2 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=dynamic_programming&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=dynamic_programming&amp;p=3">3.Next</a>
</p>
<p>by breaking it down into simpler sub-problems in a <a href="page.php?w=Recursion">recursive</a> manner. While some decision problems cannot be taken apart this way, decisions that span several points in time do often break apart recursively. Likewise, in computer science, if a problem can be solved optimally by breaking it into sub-problems and then recursively finding the optimal solutions to the sub-problems, then it is said to have <a href="page.php?w=optimal_substructure">optimal substructure</a>.</p>

<p>If sub-problems can be nested recursively</p><p>
<a accesskey="1" href="page.php?w=dynamic_programming&amp;p=1">1.Previous</a><br />
<a accesskey="3" href="page.php?w=dynamic_programming&amp;p=3">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
