Read Both Ways
A easy Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- easy
- Seniority
- junior
Interview Prompt
We sweep production records for placeholder identifiers that QA seeds as values reading the same forwards and backwards, so they are easy to spot and purge later. Scan a batch of `tokens` and return the ones that still read the same in both directions once you ignore case and any character that is not a letter or digit, keeping them in the order they appeared. A token with no letters or digits at all does not count.
Summary
Placeholders hide in plain sight. The symmetric ones give themselves away.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your python solution with real code execution
- Get instant feedback and a hire/no-hire decision