Why can’t these strings be cast to integer, despite being valid base-10 strings? I’m attempting this leetcode question.