Adobe interview question

Linked list and array based