IBM interview question

Simple linked list based question