The input is valid means there's no space in it?
e.g. "2 + 3 2" I though was valid but based on test cases and solution I think it's not now.
Well there can be space at the usual places. Like around operators. Not between digits of one number, of course.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.