// 由于题目限定了输入矩阵的字符只有 '0' 和 '1' 两种,所以处理起来也相对简单。方法是,对于每一个点, // 如果是‘0 ...
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. 这道题可以巧妙地转化为[84. Largest ...