Sentry interview question

What is the difference between a list and a map