MCPcopy Create free account
hub / github.com/BeeBombshell/Python-DSA / __init__

Method __init__

DSA/SinglyLinkedList.py:4–6  ·  view source on GitHub ↗
(self, v)

Source from the content-addressed store, hash-verified

2class Node:
3 #Constructor
4 def __init__(self, v):
5 self.data = v
6 self.next = None
7
8#class for Singly Linked List
9class SinglyLinkedList():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected