Bug Report for https://neetcode.io/problems/copy-linked-list-with-random-pointer
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
Do the original list has to be restored if been modified in the code ? Cause getting error the original list didn't get restored even though the returned list is deep copy of original list passed.