mirror of
https://github.com/krahets/hello-algo.git
synced 2025-12-16 03:59:18 +08:00
Several bug fixes.
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
class Node:
|
||||
"""类"""
|
||||
def __init__(self, x: int):
|
||||
self.val: int = x # 节点值
|
||||
self.val: int = x # 节点值
|
||||
self.next: Node | None = None # 指向下一节点的引用
|
||||
|
||||
def function() -> int:
|
||||
|
||||
Reference in New Issue
Block a user