182 Node Tree Shown Figure 1833 Name Parent Node B List Children C List Siblings D Comput Q37146074

18.2 For each node in the tree shown in Figure 18.33

a. Name the parent node

b. List the children

c. List the siblings

d. Compute the height e. Compute the depth

f. Compute the sizeL)(M

L)(M Show transcribed image text L)(M


Answer


Tree There are many pauerte nodes as D, E 1, J 버,H 丁 (0, E), (G(M), (TSJ (L, M丿

(d) (e) As uoe Know tnat -the depta of a ㈦ee eighd i one mosre then the defrth of -the deepest node o here Bust Reight is 5

Tree There are many pauerte nodes as D,

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.