MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

Sorting Algorithims/mergesort_linkedlist.py:11–12  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

9
10class LinkedList:
11 def __init__(self):
12 self.head = None
13
14 def insert(self, new_data: int) -> None:
15 new_node = Node(new_data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected