5. ListNode
data: l
next: l
Point the new list node’s data to the new ReadThis:
ListNode
data: l
next: l
name: l
currentPoints: 0
ReadThis
ReadThis
url: l
currentPoints: 0
String
value: …
6. ListNode
data: l
next: l
Now we have a deep copy of the ListNode.
ListNode
data: l
next: l
name: l
currentPoints: 0
ReadThis
ReadThis
url: l
currentPoints: 0
String
value: …