-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.java
More file actions
19 lines (17 loc) · 717 Bytes
/
Main.java
File metadata and controls
19 lines (17 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package leetcode._63_;
/**
* Created by zhangbo54 on 2019-03-04.
*/
public class Main {
public static void main(String[] args) {
Solution solution = new Solution();
int[][] obstacleGrid = {{0, 1, 1}, {1, 1, 1}, {0, 0, 0}};
System.out.println(solution.uniquePathsWithObstacles(obstacleGrid));
int[][] obstacleGridw = {{0, 0, 0}, {0, 1, 0}, {0, 0, 0}};
System.out.println(solution.uniquePathsWithObstacles(obstacleGridw));
int[][] obstacleGridwq = {{0}};
System.out.println(solution.uniquePathsWithObstacles(obstacleGridwq));
int[][] obstacleGridwq2 = {{1}};
System.out.println(solution.uniquePathsWithObstacles(obstacleGridwq2));
}
}