Google Phone Screening 3YOE

Anonymous User
995
Sep 23, 2026

You are currently at (0,0) and the destination in (w-1,0) in a W*H grid with the following steps.

  1. (x+1,y)
  2. (x+1,y+1)
  3. (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)