Merge branch 'krahets:master' into master

This commit is contained in:
Daniel
2023-01-10 21:45:25 +11:00
committed by GitHub
7 changed files with 8 additions and 8 deletions

View File

@@ -150,7 +150,7 @@ console.log('\n初始化的二叉树为\n');
printTree(getRoot());
/* 查找结点 */
let node = search(5);
let node = search(7);
console.log('\n查找到的结点对象为 ' + node + ',结点值 = ' + node!.val);
/* 插入结点 */