GATE Computer ScienceHardGATE CSE

A lattice path from (0, 0) to (6, 6) uses unit steps right or up and never goes above the line y = x. How many such paths are there?

  1. A. 132
  2. B. 102
  3. C. 162
  4. D. 32

Correct answer: A. 132

These paths are counted by the Catalan number C₆ = (1/7)·C(12, 6) = 132.

More Discrete Mathematics questions

Exams that ask this topic