Available question text
Given a nested dictionary, flatten it into a single-level dictionary where nested keys are combined into one key (e.g., joined by a separator such as '.') pointing to the innermost value. For example, {"a": {"b": {"c": 1}}} becomes {"a.b.c": 1}.
Related questions
Continue with questions that share topics or the same question type.
- Flatten Deeply Nested Array
Coding
- Flatten Nested List Iterator
Coding · Depth-First Search · Design · Iterator
- Flatten Nested Tree Iterator
Coding
- Alien Dictionary
Coding · Array · Breadth-First Search · Depth-First Search
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Meta
Flatten a Nested Dictionary
Reported Aug 2, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source