mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-14 02:10:37 +08:00
Polish the chapter of graph, hashing, appendix
This commit is contained in:
@@ -24,7 +24,7 @@ fn main() {
|
||||
println!("\n初始化二叉树\n");
|
||||
print_util::print_tree(&n1);
|
||||
|
||||
// 插入节点与删除节点
|
||||
// 插入结点与删除结点
|
||||
let p = TreeNode::new(0);
|
||||
// 在 n1 -> n2 中间插入结点 P
|
||||
p.borrow_mut().left = Some(Rc::clone(&n2));
|
||||
|
||||
Reference in New Issue
Block a user