Interview Guides
Given a parsed JSON value data consisting of nested dictionaries, lists, and scalar values, write a function that flattens it into a single dictionary. Use dot notation for dictionary keys and bracket notation for list indices, so nested values become path-based keys such as user.address.city or orders[0].id.
None10^310^5[ or ]