Are there any symbolic characters in the test case?

  • 0

    Can I assume the test case only contains digits or lowercase/uppercase alphabets?

    Are there any other characters contained in the string s? Such as dot, comma, semicolon, etc.

  • 0

    Thanks for pointing this out!

    There may be. I have actually added test cases with symbols to better reflect this.

Log in to reply

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