Turo Interview Question

Basic problems regarding linked lists and arrays