MCPcopy Create free account
hub / github.com/Jack-Lee-Hiter/AlgorithmsByPython / ListNode

Class ListNode

leetcode/2. Add Two Numbers.py:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4Output: 7 -> 0 -> 8
5'''
6class ListNode(object):
7 def __init__(self, x):
8 self.val = x
9 self.next = None
10
11class Solution(object):
12 def addTwoNumbers(self, l1, l2):

Callers 1

addTwoNumbersMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected