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).
Development Engineer Interview Questions
37,124 development engineer interview questions shared by candidates
How many gas stations are there in California?
post order traversal of a Binary Search Tree Follow up Create a BST from this post order traversed array and write test cases for this function
return Last 3rd consonant character in a string
How many lightbulbs would we have to sell to replace every incandescent bulb in every american home?
why do you want to join nokia?
How would you design a tire to be used on the moon?
remove all elements from linked list with "n" as their value
How to rotate an array by a particular amount, require best time and space complexity.
Find Common elements from two same sized Integer Arrays(Unsorted) in O(n) without sorting either of them.
Viewing 371 - 380 interview questions