Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/TheAlgorithms/Python
/ Node
Class
Node
data_structures/queues/linked_queue.py:9–15 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
7
8
9
class
Node:
10
def
__init__(self, data: Any) -> None:
11
self.data: Any = data
12
self.next: Node | None = None
13
14
def
__str__(self) -> str:
15
return
f
"{self.data}"
16
17
18
class
LinkedQueue:
Callers
1
put
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected