Open In App

GATE | GATE CS 1996 | Question 14

Like Article
Like
Save
Share
Report

In the balanced binary tree in the below figure, how many nodes will become unbalanced when a node is inserted as a child of the node “g”?

         a
       /   \
      b     e
     / \   /
    c  d  f
   /
  g

(A) 1
(B) 3
(C) 7
(D) 8


Answer: (B)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 31 Oct, 2017
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads