Microsoft interview question

Write algorithm to Deep Copy node list