题解 | #二维数组中的查找#
二维数组中的查找
http://www.nowcoder.com/practice/abc3fe2ce8e146608e868a70efebf62e
直接暴力查找当然是非常智障了,无需解释
public class Solution {
    public boolean Find(int target, int [][] array) {
        for(int i = 0;i < array.length;i++){
            for(int j = 0;j < array[i].length;j++){
                if(array[i][j] == target)return true;
            }
        }
        return false;
    }
}


