please explain the sample input of the question
@pragyachoudhary1111 hey pragya go through this link Find sum at level K(trees)