For instance, "1234567890123456789012345678901234567890". This is because some problem designs may not check the value of concurrent number to break the while loop search.
I also think so. Test cases should contain string that can make long long type overflow.
Sorry for missing this earlier and thanks, I've added your suggested test case.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.