Skip to content

Commit 7aabc01

Browse files
committed
Update deep-copy-with-arbitrary-pointer.md
1 parent 19064fb commit 7aabc01

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
Copy linked list with arbitrary pointer
22

3+
Q: We are given a linked list where the node has two pointers.
34

5+
First one is the regular 'next' pointer .
6+
7+
The second pointer is called 'arbitrary_pointer' that can point to any node in the linked list.
8+
9+
Write code to make a deep copy of the given linked list.

0 commit comments

Comments
 (0)