Length of Last Word
Given a string containing words and spaces, return the length of the last word. A word is a maximal sequence of non-space characters.
Given a string containing words and spaces, return the length of the last word. A word is a maximal sequence of non-space characters.