← Problems7. Flatten nested JSON into a fact tableMediumPython
00:00 / 20:00

Flatten nested JSON into a fact table

Medium·Acceptance ·Asked at Uber

Explode a nested order payload into one row per line item, preserving the order-level attributes.

Topics

data modeling

Similar problems

Community-reported interview topic. Not an official company question and no affiliation is implied.

solution.py
Loading editor…
Draft not saved yet · Spaces 4 · UTF-8 · ⌘↵ run, ⌘⇧↵ submit
Nothing run yet

Run against the public tests, or submit to score against all of them.