This commit is contained in:
krahets
2024-01-12 01:01:38 +08:00
parent 4037b872f4
commit 7ba648cfdc
7 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@ comments: true
!!! question
给定一棵二叉树的前序遍历 `preorder` 和中序遍历 `inorder` ,请从中构建二叉树,返回二叉树的根节点。假设二叉树中没有值重复的节点。
给定一棵二叉树的前序遍历 `preorder` 和中序遍历 `inorder` ,请从中构建二叉树,返回二叉树的根节点。假设二叉树中没有值重复的节点,如图 12-5 所示
![构建二叉树的示例数据](build_binary_tree_problem.assets/build_tree_example.png){ class="animation-figure" }