Open In App
Related Articles

GATE | GATE CS 1996 | Question 14

Improve Article
Improve
Save Article
Save
Like Article
Like

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

Level Up Your GATE Prep!
Embark on a transformative journey towards GATE success by choosing Data Science & AI as your second paper choice with our specialized course. If you find yourself lost in the vast landscape of the GATE syllabus, our program is the compass you need.

Last Updated : 31 Oct, 2017
Like Article
Save Article
Previous
Next
Similar Reads