My Blog List

[Leetcode Solution] Unique Paths

Analysis 

  • Dynamic Programming
  • let f[i][j] denote the number of unique paths to grid[i][j]
  • f[i][j]=f[i-1][j-1]

Note

Code


No comments:

Post a Comment

Enter you comment