Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ __init__
Method
__init__
leetcode/24. Swap Nodes in Pairs.py:11–13 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
9
10
class
ListNode(object):
11
def
__init__(self, x):
12
self.val = x
13
self.next = None
14
15
class
Solution(object):
16
def
swapPairs(self, head):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected