Given a string s, return true if it is a palindrome, considering only alphanumeric characters and ignoring case.
Rules:
Key idea (Two Pointers):
left at the start and right at the end.false.Runs in O(n) time with O(1) extra space — no cleaned copy of the string is built.
Jnaneshwara Reddy Satti
Builder · ClearCode
Hi — I'm a 21yo CS grad from India. I built ClearCode while recovering from a surgery, because I genuinely believe DSA should be visual, free, and accessible to everyone. No VC funding. No team. Just me, my laptop, and a lot of chai. ☕
If ClearCode helped you understand even one concept — consider supporting it. Every rupee keeps the servers running and new videos coming.