I am very confused about this part. In the problem, self.next is set to None, but when I equal l1 to l1.next and print it, it gives me the next value of l1. Could anyone tell me how does this happen? In my view, when l1 = l1.next, it should equal to None.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.