Zalando interview question

Some simple linked list processing