Do we need to handle the case where the input string is very long and even long datatype can't handle the overflow?


  • 0
    F

    Do we need to handle the case where the input string is very long? For example, we have "99....99", where there are 100 '9' in the string and the target value is 0? I don't see any restriction on the string length.


Log in to reply
 

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