Amazon Interview Question

Memory usage in Arrays and linked list