Given a linked list with next and arbit pointer. Clone the list. | CODING INTERVIEW ARCHIVES
We are provided with a linked list, with each node having two types of pointers,
- first is the usual next pointer that points to the next element in the list.
- second is an arbitrary pointer that can point to any random element in the list.
Read full article from Given a linked list with next and arbit pointer. Clone the list. | CODING INTERVIEW ARCHIVES
No comments:
Post a Comment