LeetCode
Length of Last Word
Click
here
for an explanation.