MCPcopy Index your code
hub / github.com/BeeBombshell/Python-DSA / Node

Class Node

DSA/SinglyLinkedList.py:2–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#class to initialise a Node
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 3

addFrontMethod · 0.70
addTailMethod · 0.70
insertMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected