DSA Key Problems

Copy List with Random Pointer

Given a linked list whose nodes each have next and optional random pointers, return a deep copy whose pointers refer only to copied nodes.