SurePrep interview question

What’s the difference between array vs map?