Balanced Binary Tree

I am not getting the correct answer.