Cognizant interview question

When to use linked list over array list