Placement AptitudeHardAmazon OA · CAT

A token moves from (0, 0) to (3, 3) on a grid. Each move is one unit right, one unit up, or one diagonal step up-right (from (x, y) to (x + 1, y + 1)). How many different paths are there?

  1. A. 20
  2. B. 63
  3. C. 51
  4. D. 27

Correct answer: B. 63

Group by the number k of diagonal steps: k = 0: 6!/(3! 3!) = 20; k = 1: 5!/(2! 2! 1!) = 30; k = 2: 4!/(1! 1! 2!) = 12; k = 3: 1. Total 63. 20 counts only right/up paths.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic