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

Method __init__

leetcode/143. Reorder List.py:14–16  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

12# Definition for singly-linked list.
13class ListNode(object):
14 def __init__(self, x):
15 self.val = x
16 self.next = None
17
18class Solution(object):
19 def reorderList(self, head):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected