InterviewSolution
Saved Bookmarks
| 1. |
A balanced tree is given below. How many nodes will become unbalanced when a node is inserted as a child of node G?Note: A node in a tree is balanced if absolute difference between its left and right subtrees is less than or equal to 1.(A) 2(B) 3(C) 4(D) 5 |
| Answer» | |