Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Penalty Intuition
Understanding the trade-off
Check Your Understanding
In Aliens Trick, what is the purpose of adding a penalty lambda per item selected?
- A.To handle negative costs
- B.To convert minimization to maximization
- C.To make the algorithm faster
- D.To artificially discourage selecting more items, enabling binary search to find optimal count