IBM interview question

Problem Solving, Linked Lists