Tuesday, April 12, 2011

Copy Doubly Linked List

The head pointer of a doubly linked list points to a random node.
Copy the DLL by traversal the nodes just once.

No comments: