The Schema Diff
A medium 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
- medium
- Seniority
- L4
Interview Prompt
A release tool compares two versions of a service's numeric config, the old release `d1` and the new release `d2`, to report how the settings drifted. Return a summary of which settings were added, which were removed, and which changed, giving each changed setting its old value, its new value, and how far it moved.
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 and run your Python against test cases
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision