Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Last Stone Reduction
Understanding the transform
Check Your Understanding
In Last Stone Weight II, why does minimizing the final stone relate to subset sum?
- A.Smashing stones is equivalent to partitioning into two groups and taking the difference
- B.We need to count all possible outcomes
- C.There is no relation to subset sum
- D.We need to sort the stones first