Amazon interview question

Difference between linked lists and arrays