Testcases is getting failed..whats the error?

please reply to this

@garganshul151 in line 17 mark parent[nbr] as node instead of 1