Loading...
The Mirror Test
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- junior
Problem
Our content moderation system checks usernames for palindromic patterns that often indicate bot accounts. Write a function that determines whether a string is a palindrome, considering only alphanumeric characters and ignoring case. Empty strings count as palindromes.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.