Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 416b820 commit 792b9bbCopy full SHA for 792b9bb
swap_nodes_in_pairs/solution.py
@@ -15,4 +15,4 @@ def swapPairs(self, head):
15
head.next = t.next
16
t.next = head
17
head.next = self.swapPairs(head.next)
18
- return
+ return t
0 commit comments