Tree Bottom View- one test case failing

I am getting the wrong answer in one test case. My code is https://ide.codingblocks.com/s/219971