test(binary_search_tree): update test param all the language

use param value 7, not 5. function test param value with param value in example picture as same.
This commit is contained in:
龚国玮
2023-01-10 12:16:02 +08:00
parent a5e923a387
commit 96d54bff3a
6 changed files with 6 additions and 6 deletions

View File

@@ -163,7 +163,7 @@ namespace hello_algo.chapter_tree
PrintUtil.PrintTree(bst.getRoot());
/* 查找结点 */
TreeNode? node = bst.search(5);
TreeNode? node = bst.search(7);
Console.WriteLine("\n查找到的结点对象为 " + node + ",结点值 = " + node.val);
/* 插入结点 */