Insert a node at a specific position in a linked list HackerRank Solution.

Insert a node at a specific position in a linked list HackerRank Solution. You’re given the pointer to the head node of a linked list, an integer to add to the list and the position at which the integer must be inserted. Create a new node with the given integer, insert this node at the desired position and return the head node.