What is the main purpose of State definition in dynamic programming greedy backtracking?
Answer options
- A. Reuse solutions to overlapping subproblems
- B. Commit to a locally optimal safe decision
- C. Explore choices and undo failed partial solutions
- D. Capture all information needed for future choices