Concept Flow - Valid Palindrome Two Pointer
Start with left=0, right=length-1
Check if left < right?
No→Done: Palindrome
Yes
Is s[left
Yes
Is s[right
Yes
Compare s[left
left = left + 1, right = right - 1
↩Back to Check
Two pointers start at the string ends, skip non-alphanumeric chars, compare characters ignoring case, move inward if equal, else return false.
