Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LeetCode's Length of Last Word Challenge
Given a string s consisting of words and spaces, return the length of the last word in the string. A word is a maximal substring consisting of non-space characters only.
- Loading branch information