Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ swap_nodes.py
File
swap_nodes.py
data_structures/linked_list/swap_nodes.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
__future__
import
annotations
2
3
from
collections.abc
import
Iterator
4
from
dataclasses
import
dataclass
Callers
nothing calls this directly
Calls
3
swap_nodes
Method · 0.80
LinkedList
Class · 0.70
push
Method · 0.45
Tested by
no test coverage detected