Treee -- Find sum at level k

understood the question but having trouble in implementing the input part

Hey here is code to build tree https://ide.codingblocks.com/s/326447

https://ide.codingblocks.com/s/326719 2 test cases are failing

Hey @tusharjha9835 there is one correction in build tree function
condition for second elseif should be if(child==1) [i.e on line 24]