Public Solving: Linked List and a train