GATE / CS ARCHIVE

GATE CSE 2007 / QUESTION 84

Monotone lattice paths to ten ten

Discrete Mathematics · Combinatorics & Counting · Full GATE CSE 2007 paper

GATE 2007, Q84 2 marks · MCQ
Report issue

Combinatorics & Counting

Question 84, GATE 2007: A robot starts at (0,0). Each move increases either its x-coordinate or y-coordinate by one, so from (i,j) it can move to (i+1,j) or (i,j+1). How many paths reach (10,10)? C(n,k) denotes a binomial coefficient.
Options:
(A) C(20,10)
(B) 2^20
(C) 2^10
(D) None of these
Question 84, GATE 2007: A robot starts at (0,0). Each move increases either its x-coordinate or y-coordinate by one, so from (i,j) it can move to (i+1,j) or (i,j+1). How many paths reach (10,10)? C(n,k) denotes a binomial coefficient.
Options:
(A) C(20,10)
(B) 2^20
(C) 2^10
(D) None of these
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

1. Approach. Every valid path contains exactly ten right moves and ten up moves. Specify which ten of the twenty move positions are right moves; the rest are then fixed.

2. Derivation and interpretation. A path from (0,0) to (10,10) requires exactly ten right and ten up moves. Choose the positions of the ten right moves among the twenty total moves. The count is C(20,10)=184756, option A.

Original paper, page 21