Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jack-Lee-Hiter/AlgorithmsByPython
/ ListNode
Class
ListNode
leetcode/21. Merge Two Sorted Lists.py:6–9 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
5
# Definition for singly-linked list.
6
class
ListNode(object):
7
def
__init__(self, x):
8
self.val = x
9
self.next = None
10
11
class
Solution(object):
12
def
mergeTwoLists(self, l1, l2):
Callers
1
mergeTwoLists
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected