2020-11-22

题目内容
解法: 向后遍历,思路还是挺简单的
func lengthOfLastWord(s string) int {
// 如果字符串长度为0,那么就直接返回0
if len(s) == 0 {
return 0
}
//
2020-11-20