Dynamic Programming21 sections · 916 units
Open in Course

Quiz: Out of Boundary Counting

Counting vs probability

Check Your Understanding

In Out of Boundary Paths, why do we count paths modulo 10^9 + 7?

  1. A.To ensure the answer fits in a 32-bit integer
  2. B.To convert counts to probabilities
  3. C.To speed up computation
  4. D.Because the number of paths can be astronomically large
Start the roadmap to answer the quizzes and solve the challenges