Skip to main content
easyBlind 75

Valid Palindrome

Given a string s, determine if it is a palindrome Consider only alphanumeric characters and ignore cases Example: "A man, a plan, a canal: Panama" => true Example: "race a car" => false

This is a two-pointers problem where the key is knowing which move can only improve things. It's a great warm-up that builds invariant-driven scanning without a ton of moving parts. Keep the invariant in your head and the pointer moves become obvious.

StringTwo Pointers

Meet Coco

Coco is an AI study partner, not a person. She listens while you explain your code, asks what a line does and never hands you the fix. Typing with Coco is free when you sign in, up to a daily limit. Talking with her out loud comes with the $79 pack. Anyone can open the editor and run their code.

1Check If Palindromeeasy
2Part 2
3Part 3

Each locked part opens in the editor once the part before it passes.

Based onLeetCode