Lateral Paths

A medium Data Modeling 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
Data Modeling
Difficulty
medium
Seniority
L5

Interview Prompt

We run a large tech company where a single transfer can move someone to a new team, a new manager, and a different office all at once, and departments themselves nest into larger divisions and orgs. Today HR keeps only each employee's current department, manager, and office in one table, so every move erases where they sat before. Design a schema that preserves the full movement history and can answer where any employee was on a given past date.

Summary

People switch teams. HR loses track.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Draw your data model on the schema canvas: tables, keys and relationships
  4. Answer the interviewer's follow-up questions, then get a hire or no-hire decision