mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-01 17:53:18 +08:00
build
This commit is contained in:
@@ -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:
|
||||
"""函数"""
|
||||
|
||||
Reference in New Issue
Block a user