22 對任意一個二元樹自根節點開始執行 DFS 與下列那一種二元樹走訪(Binary tree traversal)可產生相同節 點序列?
(A)先序走訪(Preorder traversal)
(B)中序走訪(Inorder traversal)
(C)後序走訪(Postorder traversal)
(D)階層走訪(Level traversal)

答案:登入後查看
統計: A(304), B(152), C(93), D(63), E(0) #1652634

詳解 (共 2 筆)

#2725465
Preorder traversal 先...
(共 52 字,隱藏中)
前往觀看
13
0
#6245643
DFS即深度優先搜索(Depth-Fir...
(共 85 字,隱藏中)
前往觀看
2
0