Question DSA-DP-0030
EasyIn a one-dimensional DP solution, what does dp[i] usually stand for?
- A.
The number of loops
- B.
The answer to the subproblem of size i (for example, the first i items)
- C.
Sign up free to see the answer and a step-by-step explanation.