Dynamic Programming21 sections · 916 units
Open in CourseQuiz: Two-Dimensional Aliens
Knowledge check
Check Your Understanding
In two-dimensional Aliens Trick, why do we need nested binary searches?
- A.To handle positive and negative costs
- B.Each constraint (exactly K1 of type A, K2 of type B) requires its own penalty parameter
- C.To speed up inner DP computation
- D.To convert 2D problem to 1D