Cognizant Interview Question

Question on linked list from data structures