← Questions

Valid palindrome and its variants

0
xAICodingLast asked Jul 2025

Decide whether a string is a palindrome after ignoring case and anything that is not a letter or digit. Then solve variants: allow deleting at most one character, or check without building a cleaned copy of the string.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding