Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Convexity Requirement
When Aliens works
Check Your Understanding
Why does Aliens Trick require the cost function to be convex in the number of items?
- A.Convexity ensures all items have positive cost
- B.Convexity ensures DP can be computed in linear time
- C.Convexity guarantees adding linear penalty creates unique minimum, enabling binary search
- D.Convexity is required for divide and conquer optimization