2022年3月15日
摘要: package leetcode; public class offer_13 { //全局变量记录总数 int count=0; public int movingCount(int m, int n, int k) { //防止重复计数 int[][] visit=new int[m][n]; 阅读全文
posted @ 2022-03-15 11:43 一仟零一夜丶 阅读(19) 评论(0) 推荐(0)
摘要: package leetcode; public class offer_12 { //设置全局变量 int flag=0; public boolean exist(char[][] board, String word) { if(board==null) {return false;} int 阅读全文
posted @ 2022-03-15 11:01 一仟零一夜丶 阅读(17) 评论(0) 推荐(0)