There seems to be many wrong test cases?


  • 0
    G

    input : 0, 0, 0, 0, -1. -1, 1, 1
    expected return value = 4

    input : -2, -2, 2, 2, 3, 3, 4, 4
    expected return value = 17

    input : -2,-2,2,2,-4,3,-3,4
    expected return value = 17

    these are just some of test cases I was having trouble with
    shouldn't all these have area of 0?

    expected return value = 17


Log in to reply
 

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