1.

Define an RP-tree by the parent-child adjacency lists as follows:(i) Root B: J, H, K; (ii) J: P, Q, R; (iii) Q: S, T; (iv) K: L, M, N.The preorder vertex sequence of this tree is

A. B, J, P, Q, S, T, R, H, K, L, M, N.
B. B, J, H, K, P, Q, R, L, M, N, S, T.
C. B, J, Q, P, S, T, R, H, L, M, N, K
D. B, J, P, Q, S, T, R, H, L, M, N, K.
Answer» B. B, J, H, K, P, Q, R, L, M, N, S, T.


Discussion

No Comment Found