The Deep Config
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- L5
Problem
Given a nested dict, flatten it by joining keys at each level with '.'. Values (non-dict leaves) become entries in a flat dict with dotted keys.
Summary
Nested config, dot-notation output.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.