Medtronic interview question

What are some differences you can name between a map array method and a for each loop?