While reviewing dynamic programming greedy backtracking, intervals must be selected without overlaps. Which action fixes it, and which check proves it worked?
Answer options
- A. Include every future-relevant variable
- B. Prove the local choice preserves optimality
- C. Compare with exhaustive small cases
- D. Prune and revert invalid choices