Cognizant interview question

How linked list works