← Problem library

Strings · Python

Palindrome Check

MediumStringsUnsolved

Problem

Return True when text is a palindrome after ignoring case and non-alphanumeric characters.

Example input

text = 'Never odd or even'

Example output

True

Constraints

0 <= len(text) <= 10,000

Python workspace

Reset code

Execution uses a timed child process in a temporary directory. It is development-only isolation, not a production sandbox.