chenyufeng1991 / 58.-length-of-last-word Goto Github PK
View Code? Open in Web Editor NEWGiven a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word does not exist, return 0.