auto commit
This commit is contained in:
parent
05247b4e61
commit
599d26aa99
@ -429,7 +429,6 @@ public int minNumberInRotateArray(int[] array) {
|
|||||||
|
|
||||||
```java
|
```java
|
||||||
private int[][] next = {{0, -1}, {0, 1}, {-1, 0}, {1, 0}};
|
private int[][] next = {{0, -1}, {0, 1}, {-1, 0}, {1, 0}};
|
||||||
|
|
||||||
public boolean hasPath(char[] matrix, int rows, int cols, char[] str){
|
public boolean hasPath(char[] matrix, int rows, int cols, char[] str){
|
||||||
if(rows == 0 || cols == 0) return false;
|
if(rows == 0 || cols == 0) return false;
|
||||||
char[][] m = new char[rows][cols];
|
char[][] m = new char[rows][cols];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user