OYO Interview Question

clone a linked list with random pointer without modifying it?

Interview Answer

Anonymous

Jun 19, 2017

use hash map and store address of newly formed linked list on key value of corresponding old linked list node address.

1