Good problem, but very stupid testing cases


  • 0
    J

    I am wondering whether it is meaningful to test such cases as [-2147483648, 1], [-1, -2147483648]: does the author just want to reminder people to use long int type? If so, why not try [-1, -2147483647], [-1, -2147483646] etc. Actually, those cases are nothing except to be used to make fun of people.


Log in to reply
 

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