edited by
565 views
0 votes
0 votes

edited by

1 Answer

0 votes
0 votes
Question should explicitly mention in which structure you are storing the tree.

Assuming its an array with start index 0. The answer is 2.

If with index 1. The answer is 3.

Related questions

0 votes
0 votes
2 answers
2
Tushar Shinde asked Jan 15, 2016
911 views
I am stuck after JAN. It is not getting balanced even after 2 rotations. Can somebody help?