Quiz: Grid Paths Recurrence

Test your understanding

Check Your Understanding

The robot can only move right or down. How many paths lead to cell (i, j)?

  1. A.paths(i-1, j) + paths(i, j-1)
  2. B.i × j
  3. C.max(paths(i-1, j), paths(i, j-1))
  4. D.paths(i-1, j) × paths(i, j-1)
Start the roadmap to answer the quizzes and solve the challenges