Can we assume all input characters are numbers?


  • 0
    M

    As the problem describe, the input should be numbers; however, I run the test case with letters such as"1a2c", it still works; So could we assume all inputs are numbers?


Log in to reply
 

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