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

Class Node

DSA/LinkedList.py:2–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Node class
2class Node:
3
4 # Function to initialize the node object
5 def __init__(self, data):
6 self.data = data # Assign data
7 self.next = None # Initialize
8 # next as null
9
10# Linked List class
11class LinkedList:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected