MCPcopy
hub / github.com/HuberTRoy/leetCode / ListNode

Class ListNode

Array/IntersectionOfTwoLinkedLists.py:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83"""
84class ListNode(object):
85 __slots__ = ('val', 'next')
86 def __init__(self, x):
87 self.val = x
88 self.next = None
89
90class Solution(object):
91 def getIntersectionNode(self, headA, headB):

Callers 9

mergeKListsMethod · 0.85
partitionMethod · 0.85
deleteDuplicatesMethod · 0.85
addTwoNumbersMethod · 0.85
_addTwoNumbersMethod · 0.85
getEqualNodesMethod · 0.85
mergeTwoListsMethod · 0.85
addTwoNumbersMethod · 0.85
sortListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected