Barclays Interview Question

diffrence between linked list and array