MAERSK interview question

leet code programming questions based on lists and dictionary