1
0
mirror of https://github.com/SunnyQjm/algorithm-review.git synced 2026-06-05 15:39:29 +08:00
This commit is contained in:
2020-06-28 16:25:03 +08:00
parent eb8d3279a8
commit 19bc63cf1b
49 changed files with 82 additions and 66 deletions
+1 -1
View File
@@ -27,6 +27,7 @@
# 2. 向下 -> 向下 -> 向右 -> 向右
#######################################################################################
class Solution:
def uniquePathsWithObstacles(self, obstacleGrid):
"""
@@ -63,4 +64,3 @@ class Solution:
if __name__ == '__main__':
solution = Solution()
print(solution.uniquePathsWithObstacles([[0, 0, 0], [0, 1, 0], [0, 0, 0]]), "= 2")