← Walmart questions

Count grid paths from (X, Y) to (N, N)

Filed under Walmart

Given an N x N grid and a starting position (X, Y), count all unique paths to the bottom-right corner (N-1, N-1) moving only right or down.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Walmart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.