Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ __init__
Method
__init__
leetcode/2. Add Two Numbers.py:7–9 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
5
''
&
#x27;
6
class
ListNode(object):
7
def
__init__(self, x):
8
self.val = x
9
self.next = None
10
11
class
Solution(object):
12
def
addTwoNumbers(self, l1, l2):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected