摘要: 查看并输出二叉树不同的地方: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> < 阅读全文
posted @ 2020-06-24 18:59 lanshanxiao 阅读(590) 评论(0) 推荐(0) 编辑
摘要: 严格比较二叉树,左子树和右子树严格相等: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1 阅读全文
posted @ 2020-06-24 17:40 lanshanxiao 阅读(517) 评论(0) 推荐(0) 编辑
摘要: 二叉树的深度优先搜索代码实现(JavaScript版): <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial 阅读全文
posted @ 2020-06-24 09:49 lanshanxiao 阅读(612) 评论(0) 推荐(0) 编辑