Indeed interview question

Linked lists and arrays.