Skip to content

Commit 207d8d4

Browse files
aQuaaQua
aQua
authored and
aQua
committed
125 finish
1 parent cb07e4a commit 207d8d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Algorithms/0125.valid-palindrome/valid-palindrome.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ func isPalindrome(s string) bool {
2424
return true
2525
}
2626

27+
// 判断 c 是否是需要检查的字符
2728
func isChar(c byte) bool {
2829
if ('a' <= c && c <= 'z') || ('0' <= c && c <= '9') {
2930
return true

0 commit comments

Comments
 (0)