mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-11 11:20:58 +00:00
Fix function call error and null safety (#491)
This commit is contained in:
@@ -135,7 +135,7 @@ void main() {
|
||||
print("\n查找到的节点对象为 $node,节点值 = ${node?.val}");
|
||||
|
||||
/* 插入节点 */
|
||||
node = insert(16);
|
||||
insert(16);
|
||||
print("\n插入节点 16 后,二叉树为\n");
|
||||
printTree(getRoot());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user