Cognizant interview question

Implementation of Linked List