Taking a new Node


#1

RandomListNode *tmp = new RandomListNode(data);