Loading interview...
The Schema Diff
A medium Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- medium
- Seniority
- mid, senior
Interview Prompt
A config management tool needs to compare two dictionaries and classify every difference. Given two dictionaries d1 and d2, return a dictionary with three keys: 'added' (keys only in d2), 'removed' (keys only in d1), and 'changed' (keys in both but with different values - mapped to a tuple of (old, new)).
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