Adobe Interview Question

Linked list and array based