The Paired Doors
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
- L3
Interview Prompt
Our query-template linter flags expressions whose grouping symbols don't line up. Given a string `s` of the characters '()[]{}', return `True` when the brackets are properly matched and nested, and `False` otherwise.
Summary
Every door you open is a promise to close it, in order.
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