Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.
Very difficult problem, need to utilize the method in question "largest rectangle histogram"
-
make a new matrix, where each value is the number of consecutive '1's above it
-
apply "largest rectangle histogram" on each row
-
compare and return max from all rows