Can someone explain this question, not sure exactly what they are asking. Thank y


#1

Can someone explain this question, not sure exactly what they are asking. Thank you


#2

You have to create a new node for every existing node of the linked list and give the links (next and random) to the created new nodes, by looking at the old nodes. These next and random pointers in the new nodes should point to the newly created nodes only. I think this helps a bit in understanding the problem statement.