python:实现链表交换节点算法
from typing import Any
class Node:
def __init__(self, data: Any):
self.data = data
self.next
from typing import Any
class Node:
def __init__(self, data: Any):
self.data = data
self.next