A rooted tree has root H and edges H–J, H–K, J–L, L–M, M–N, K–P. What is the depth of N? Give the number of edges.
Unlock full course notes by signing up
Rooted Trees: difficulty 4
In an ordered rooted tree, A has children B then C; B has child D; D has children E then F; C has child G. Give (i) the proper ancestors of F from root downward and (ii) the full postorder traversal.