This commit is contained in:
krahets
2023-09-21 20:44:38 +08:00
parent fca420d938
commit 02757deee2
13 changed files with 408 additions and 623 deletions

View File

@@ -34,8 +34,8 @@ comments: true
class Node:
"""类"""
def __init__(self, x: int):
self.val: int = x # 节点值
self.next: Optional[Node] = None # 指向下一节点的引用
self.val: int = x # 节点值
self.next: Node | None = None # 指向下一节点的引用
def function() -> int:
"""函数"""