Which two properties make a problem suitable for dynamic programming? | Dynamic Programming question · AnyPrep