CodeMosa
Master LeetCode Patterns
All Patterns
Collections
Sign In
Back
Dynamic Programming
Question 1 of 9
11% Complete
Easy
What two properties usually indicate a problem is suitable for DP?
A
Overlapping subproblems and optimal substructure
B
Greedy-choice property and randomness
C
Unique solutions and cycles
D
Graph connectivity and memoization