摘要: 题目链接 暴力 暴力写法直接循环遍历二位数组,查找该值是否存在 时间复杂度为:O(nm) class Solution { public boolean findNumberIn2DArray(int[][] matrix, int target) { int n = matrix.length; 阅读全文
posted @ 2022-03-21 20:32 Lngstart 阅读(25) 评论(0) 推荐(0) 编辑