Citadel interview question

How can you compare nested dictionaries