Placement AptitudeHardCAT · Amazon OA

Shortest grid paths go from (0, 0) to (4, 4) using unit steps right or up. How many of them pass through exactly one of the points (2, 2) and (1, 3)?

  1. A. 70
  2. B. 36
  3. C. 56
  4. D. 52

Correct answer: D. 52

Through (2, 2): C(4, 2) × C(4, 2) = 36. Through (1, 3): C(4, 1) × C(4, 3) = 4 × 4 = 16. No path visits both (from (1, 3) you can never reach y = 2 again), so exactly one: 36 + 16 = 52.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic