Cognizant interview question

Question on linked list from data structures