Closing Time
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
Our query layer gates filter expressions before the parser sees them: each expression groups conditions with round, square, and curly brackets. Return whether the brackets are balanced, meaning every opener is closed by one of the same kind and in the right nesting order.
Summary
Every bracket you open is a promise. Check that the parser keeps all of them.
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