Amazon Interview Question

Deep copy of a list list containing a pointer to the next node and also a pointer to a random other node ( could be a node ahead in the list, the node itself, somewhere behind or NULL)