Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Subset Sum Basics
Knowledge check
Check Your Understanding
In the Subset Sum problem, what does dp[i] represent when using 1D space optimization?
- A.The minimum elements needed for sum i
- B.The maximum element value for sum i
- C.The count of subsets with sum i
- D.Whether a subset with sum i is achievable