摘要: func trailingZeroes(n int) int { ans:=0 for n!=0{ n=n/5 ans=ans+n } return ans } 阅读全文
posted @ 2022-06-22 11:27 知道了呀~ 阅读(57) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.cn/problems/longest-substring-without-repeating-characters/ func lengthOfLongestSubstring(s string) int { mp:=make(map[string]int) le 阅读全文
posted @ 2022-06-22 11:18 知道了呀~ 阅读(51) 评论(0) 推荐(0) 编辑