SLB interview question

How to add a node to a linked list