GALE Partners interview question

Flatten a nested dictionary and represent nested data in dot notation.