https://ide.codingblocks.com/s/58286 kindly debug the code…
Is_balanced binary tree
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.