Adding one row to binary tree

https://online.codingblocks.com/app/player/130237/content/104831/8470/code-challenge
Q) adding one row to tree problem
my code- https://ide.codingblocks.com/s/263525
its not passing test cases pls tll the error