DataDriven
LearnPracticeInterviewDiscussDailyJobs

The Hostile Takeover

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

Pipeline configuration arrives in layers: a `base` dict of defaults and an `override` dict that customizes it per environment, both nestable to arbitrary depth. Combine them into one dict where `override` wins on any conflicting leaf, except that when a key holds a dict on both sides the two sub-dicts combine by that same rule rather than one replacing the other. Keys present in only one side carry through untouched, and neither input may be modified.

Summary

One dict eats another.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your python solution with real code execution
  4. Get instant feedback and a hire/no-hire decision

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge