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
- L4
Interview Prompt
Given dicts d1 and d2, return a dict with: 'added' (dict of keys only in d2 with d2 values), 'removed' (dict of keys only in d1 with d1 values), 'changed' (dict of keys in both but values differ, mapped to [d1_value, d2_value]).
Summary
Two versions of the same config - what changed between 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