Is_balanced binary tree

https://ide.codingblocks.com/s/58286 kindly debug the code…

this code is not resolved

Hi Neeraj, in line number 42, you need to initialise p.balance with 1 (true) instead of 0.

I’ve corrected your code, and you can refer to it here https://ide.codingblocks.com/s/58367.