SLB Interview Question

How to add a node to a linked list