摘要:
https://leetcode.cn/problems/ZL6zAn/ var n,m,ans int var dir =[][]int{{1,0},{0,1},{-1,0},{0,-1}} func checkRange(x,y int) bool{ if x>=0&&x<n&&y>=0&&y< 阅读全文
摘要:
https://leetcode.cn/problems/longest-substring-without-repeating-characters/ func lengthOfLongestSubstring(s string) int { mp:=make(map[string]int) le 阅读全文