← Flipkart questions
CodingReported in a candidate post, Jul 2025

Clone a linked list with arbitrary pointer

Filed under Flipkart

Given the head of a linked list in which every node has a next pointer and an arbitrary (random) pointer to any node or null, create a deep copy: new nodes only, with next and random pointers pointing…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Flipkart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.