Grubhub interview question

Work with dictionaries and graphs