Is it possible to do dynamic programming with functional programming?
Answers
Answered by
0
yes it is possible .......
Answered by
1
Answer:
Explanation:
Greedy algorithm have a local choice of the sub-problems whereas Dynamic programming would solve the all sub-problems and then select one that would lead to an optimal solution. Greedy algorithm take decision in one time whereas Dynamic programming take decision at every stage.
Similar questions