2021年10月25日

LeetCode_240 搜索二维矩阵 II(Java版)

摘要: 每次排除一行,或者一列,直接用两个二分法,一次排除半行或半列 public class Optimization { public boolean searchMatrix(int[][] matrix, int target) { int x = 0; int y = matrix[x].leng 阅读全文

posted @ 2021-10-25 20:55 Tianhao丶 阅读(44) 评论(0) 推荐(0)

导航