Closing Time
An easy Python mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.
- 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 the matching kind in the right 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 and run your Python against test cases
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision