mirror of
https://github.com/krahets/hello-algo.git
synced 2026-02-12 07:05:42 +08:00
build
This commit is contained in:
@@ -447,7 +447,7 @@ comments: true
|
||||
|
||||
def to_list(self) -> list[int]:
|
||||
"""转化为列表用于打印"""
|
||||
arr: list[int] = []
|
||||
arr = []
|
||||
node = self.__peek
|
||||
while node:
|
||||
arr.append(node.val)
|
||||
|
||||
Reference in New Issue
Block a user