You are currently at (0,0) and the destination in (w-1,0) in a W*H grid with the following steps.
- (x+1,y)
- (x+1,y+1)
- (x+1,y-1)
A. Count the number of ways to reach the destination.
B. Count the number of ways to reach destination that passes through (a,b)
Comments (2)


