Bug in test set?


  • 0
    U

    Isn't this test case wrong?

    The largest rectangle should be a 2x2 one right?
    Or am I missing reading this problem some how?

    0 1
    1 0

    testcase


  • 0
    S

    find the largest rectangle containing all ones and return its area.

    2x2 has 0 in it.


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.