Capgemini Engineering Interview Question

WAP to add a node to a linked list