AmazonCoding·30 minMembers
Clone Linked List with Random + Next Pointer
Members only
Variant of LC 138 (Copy List with Random Pointer) where each node has both a `next` and a `random` pointer. Deep-clone in O(n) time.
SWE
hashmap
medium
Frequency
Single report
Last asked
2026-03-25
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
