[leetcode in golang]125、验证回文串 - 草稿
看到的第一个想法就是使用slice 看答案发现用双指针法 func isPalindrome(s string) bool { if len(s)<=1{ return true } strLower:=strings.ToLower(s) i,j:=0,len(strLower)-1 for i
看到的第一个想法就是使用slice 看答案发现用双指针法 func isPalindrome(s string) bool { if len(s)<=1{ return true } strLower:=strings.ToLower(s) i,j:=0,len(strLower)-1 for i