English

Answer the following questions based on the diagram of a Binary Tree given below: Name the external nodes of the tree. State the degree of node M and node L. Write the post-order traversal of the - Computer Science (Theory)

Advertisements
Advertisements

Question

Answer the following questions based on the diagram of a Binary Tree given below:

  1. Name the external nodes of the tree.
  2. State the degree of node M and node L.
  3. Write the post-order traversal of the above tree structure.
Answer in Brief

Solution

  1. F, I, C, G
  2. Degree of M is 2
    Degree of L is 1
  3. F, I, M, E, C, L, G, H, A
shaalaa.com
Recursive Data Structures - Single Linked List (Algorithm and Programming), Binary Trees, Tree Traversals (Conceptual)
  Is there an error in this question or solution?
2023-2024 (February) Official
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×