Northrop Grumman interview question

Difference between a list and dictionary