Deep Flatten Object

Each nested property is transformed into a flat property with keys indicating their path in the original object.

Asked in Blinkit frontend interviews