Zeus interview question

Double linked list, coding question