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

Method __init__

data_structures/queues/linked_queue.py:45–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43 """
44
45 def __init__(self) -> None:
46 self.front: Node | None = None
47 self.rear: Node | None = None
48
49 def __iter__(self) -> Iterator[Any]:
50 node = self.front

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected