0
1.6kviews
Greedy Approach v/s Dynamic Programming

what is different between the greedy approach and the dynamic programming approach.

1 Answer
0
45views

Greedy Approach v/s Dynamic Programming

Sr. No. Parameters Greedy Approach Dynamic Programming
1. Main Idea In a Greedy Algorithm, the choice which seems the best at the current step is chosen to build an optimal solution. In Dynamic Programming, the decision made at each step is through considering the solution …

Create a free account to keep reading this post.

and 5 others joined a min ago.

Please log in to add an answer.