Fmars Blog
Inner happiness comes from self-sacrifice
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Enter you comment