Question DSA-DP-0049
MediumWhat are the two properties a problem needs for dynamic programming to help?
- A.
Recursion and randomness
- B.
Greedy choice and sorting
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Dynamic Programming question
What are the two properties a problem needs for dynamic programming to help?
Recursion and randomness
Greedy choice and sorting
Sign up free to see the answer and a step-by-step explanation.
A graph and a heap
Optimal substructure and overlapping subproblems