Copy List with Random Pointer
A linked list has next and random pointers. Return a deep copy of the list. Input is represented as [value, randomIndex] pairs.
A linked list has next and random pointers. Return a deep copy of the list. Input is represented as [value, randomIndex] pairs.