HCL interview question

Difference between linked list and arrays