leetcode length of last word