HCLTech Interview Question

insert a node in link list