Bloomberg interview question

Question (mid level) on linked lists