GATE Computer ScienceVery hardGATE CS (PYQ pattern)

A lattice path from (0, 0) to (7, 7) uses unit steps right (R) and up (U) and never goes above the line y = x. How many such paths avoid the point (3, 3)?

  1. A. 359
  2. B. 429
  3. C. 289
  4. D. 344

Correct answer: A. 359

Total paths are the Catalan number C₇ = 429. Those through (3, 3) number C₃ · C₄ = 5 · 14 = 70, so 359 = 359.

More Discrete Mathematics questions

Exams that ask this topic