Amazon interview question

Leetcode: Unique Paths