solulubeta
Sign in
NeetCode 150 / Linked List
06.05 · Problem

Copy List with Random Pointer

Medium Old → new node map (or interleaving) 1 video LC 138 Pro

This problem is part of solulu Pro

Each node has a val, a next pointer, and a random pointer that can point to any node in the list or null. Return a deep copy: brand-new nodes with the same values, whose next and random pointers point into the *copy*,…

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 39 of 150 · updated 2026-10-12