Corner case when a = Integer.MIN_VALUE


  • 0
    Q

    I feel test cases don't include the corner case when a = Integer.MIN_VALUE. Easiest way to handle this corner case maybe convert to long type when test b + c = -a ?


Log in to reply
 

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