摘要: class Solution { public void solveSudoku(char[][] board) { //最骚的一点:给递归函数一个返回值 直接调用 太帅了 bp(board); } private boolean bp(char[][] board){ for(int i =0;i 阅读全文
posted @ 2021-08-24 12:40 常熟阿诺 阅读(27) 评论(0) 推荐(0) 编辑
摘要: class Solution { List<List<String>> res; //检查 列+主对角+负对角 boolean[] cols; boolean[] poss; boolean[] negs; char[][] t; int m ; public List<List<String>> 阅读全文
posted @ 2021-08-24 08:53 常熟阿诺 阅读(34) 评论(0) 推荐(0) 编辑