Question: Find a rectangle of 0s in matrix of 1s and 0s Input:
1 2 3 4 5 6 7 8 9 10 |
{0,1,1,1,1,1,1}, {1,1,1,1,1,1,1}, {1,1,1,1,1,1,1}, {1,1,1,0,0,1,1}, {1,1,1,0,0,1,1}, {1,1,1,0,0,1,1}, {1,1,1,0,0,1,1}, {1,1,1,0,0,1,1}, {1,1,1,1,1,1,1}, {1,1,1,1,1,1,1} |
Output: [[0, 0], [0, 0], [3, 3],…