Engineer Software Interview Questions

512,496 engineer software interview questions shared by candidates

You've a singly linked list where every node in the list has a field "random" which points to other node in the same list. Write a function to clone this list (create a new copy of the same). Don't use extra space (just the pointer variables are fine).
avatar

Software Development Engineer I

Interviewed at Microsoft

4
Aug 17, 2012

You've a singly linked list where every node in the list has a field "random" which points to other node in the same list. Write a function to clone this list (create a new copy of the same). Don't use extra space (just the pointer variables are fine).

Viewing 2361 - 2370 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 512,496 interview questions and reports from Engineer software interviews. Prepare for your interview. Get hired. Love your job.