Matrix exit paths
Filed under PhonePe
The question
Count ways to exit an N*M matrix from (Sx, Sy) in at most K steps.
No write-up yet. Related questions below have one.
Related PhonePe questions
Collected from public candidate posts and coding forums. Updated Nov 2026.