File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 55[ ![ Travis] ( https://img.shields.io/badge/language-Python-red.svg )] ( )
66[ ![ Travis] ( https://img.shields.io/badge/language-Java-blue.svg )] ( )
77
8- [ ![ ] ( https://img.shields.io/badge/WeChat-微信群-brightgreen )] (#关注我)
9- [ ![ ] ( https://img.shields.io/badge/公众号-力扣加加-blueviolet )] (#关注我)
8+ [ ![ ] ( https://img.shields.io/badge/WeChat-微信群-brightgreen )] ( #哪里能找到我 )
9+ [ ![ ] ( https://img.shields.io/badge/公众号-力扣加加-blueviolet )] ( #哪里能找到我 )
1010[ ![ ] ( https://img.shields.io/badge/Juejin-掘金-blue )] ( https://juejin.im/user/58af98305c497d0067780b3b )
1111[ ![ ] ( https://img.shields.io/badge/Zhihu-知乎-blue )] ( https://www.zhihu.com/people/lu-xiao-13-70 )
1212[ ![ ] ( https://img.shields.io/badge/bilili-哔哩哔哩-ff69b4 )] ( https://space.bilibili.com/519510412/ )
Original file line number Diff line number Diff line change @@ -110,8 +110,7 @@ class Solution:
110110 def uniquePaths (self , m : int , n : int ) -> int :
111111 if m == 1 or n == 1 :
112112 return 1
113- cnt = self .uniquePaths(m - 1 , n) + self .uniquePaths(m, n - 1 )
114- return cnt
113+ return self .uniquePaths(m - 1 , n) + self .uniquePaths(m, n - 1 )
115114```
116115
117116
You can’t perform that action at this time.
0 commit comments