Total subtrees with given sum hacker Blocks

Problem: Total subtrees with given sum hacker Blocks
I am getting the run error with some test cases. please resolve it I am unable to find my mistake.

your findNoOfSubTree() function is correct may be some other error

can you send me the link of problem so that i can check

1 Like