# LC6687 Unique Paths **Idea.** Combinatorics or DP grid. ```python def uniquePaths(m,n): from math import comb return comb(m+n-2, m-1) ``` **Interview habit.** Say the brute force, then the optimisation, then edge cases. Rehearse that flow with [the Linkjob AI app](https://www.linkjob.ai/).