摘要: class Solution(object): def lengthOfLastWord(self, s): """ :type s: str :rtype: int """ res=s.split() if len(res)!=0: return len(res[-1... 阅读全文
posted @ 2017-12-23 19:00 PirateLHX 阅读(102) 评论(0) 推荐(0)