0 votes 0 votes I know the answer. But is there any general FORMULA for it? If yes, please provide the complete derivation of it. In the solution, they used $\rightarrow 2^{h-1}+1.$ I tried but I am not able to derive it. Programming in C data-structures binary-tree + – Soumya29 asked Oct 22, 2018 reopened Oct 22, 2018 by Shaik Masthan Soumya29 302 views answer comment Share Follow See 1 comment See all 1 1 comment reply Shaik Masthan commented Oct 22, 2018 reply Follow Share i edited my answer with your requirement ! 1 votes 1 votes Please log in or register to add a comment.