What's the expected result of input " 10-5a"? Is it 5, 10, or -105? It's -105 with my accepted program.


Log in to reply
 

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