摘要: 题目要求 解答1:暴力解决 class Solution(object): def lengthOfLastWord(self, s): """ :type s: str :rtype: int """ input_list = [i for i in s.split(" ") if i!="" ] 阅读全文
posted @ 2024-07-23 16:43 TW-NLP 阅读(7) 评论(0) 推荐(0) 编辑