The problem definition is very unclear about the whether the string s "only" contains digits


  • 0
    W

    Any of you thought the string could contain characters other than number (letters and special characters)?
    e.g., '*', 'a', etc.


Log in to reply
 

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