Analog Devices Interview Question

When should you use a linked list vs array