题解 public int[][] visit; public boolean hasPath(char[] matrix, int rows, int cols, char[] str) { visit = new int[rows][cols]; char[][] array = new char[rows][cols]; for (int i = 0; i < rows ; i++) { for(int j = 0; j < cols; j++) { array[i][j] = m...