mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-13 09:49:49 +08:00
refactor: Replace 结点 with 节点 (#452)
* Replace 结点 with 节点 Update the footnotes in the figures * Update mindmap * Reduce the size of the mindmap.png
This commit is contained in:
@@ -21,15 +21,15 @@ func TestPreInPostOrderTraversal(t *testing.T) {
|
||||
// 前序遍历
|
||||
nums = nil
|
||||
preOrder(root)
|
||||
fmt.Println("\n前序遍历的结点打印序列 =", nums)
|
||||
fmt.Println("\n前序遍历的节点打印序列 =", nums)
|
||||
|
||||
// 中序遍历
|
||||
nums = nil
|
||||
inOrder(root)
|
||||
fmt.Println("\n中序遍历的结点打印序列 =", nums)
|
||||
fmt.Println("\n中序遍历的节点打印序列 =", nums)
|
||||
|
||||
// 后序遍历
|
||||
nums = nil
|
||||
postOrder(root)
|
||||
fmt.Println("\n后序遍历的结点打印序列 =", nums)
|
||||
fmt.Println("\n后序遍历的节点打印序列 =", nums)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user