問題詳情

5.Basic Data Structures:
【題組】(1) Consider a binary tree. Suppose that its DFS result is "c, b, e, f, d, h, i, g, k, a, j" while BFS resultis "c, b, g, e, d, k, j, f, h, i, a". Please draw the tree.

參考答案