Akshaya interview question

Adding a node into linked list