//
pkg.gl
Category
github.com/szhou12/leetcode-go
leetcode
0125-Valid-Palindrome
package
0.0.0-20241220224003-b7cf03a90b2b
Repository:
https://github.com/szhou12/leetcode-go.git
Documentation:
pkg.go.dev
Overview
Dependencies
1
Dependents
0
#
README
125. Valid Palindrome
Solution idea
Two Pointers
相向而行双指针
Time complexity = $O(n)$