Shopee interview question

Flatten a python dictionary structure into a string.