Dynamic Programming21 sections · 916 units
Open in Course

Quiz: Can I Win State

Understanding the bitmask

Check Your Understanding

In Can I Win, why is a bitmask used to represent the state?

  1. A.To track which numbers have already been chosen
  2. B.To count moves made
  3. C.To represent the target sum
  4. D.To store the current player turn
Start the roadmap to answer the quizzes and solve the challenges