Print all nodes at a distance K from target - Trees

Please check my code and send me an example of the failing test case.


fixed the logic with comments
i have used a vector to keep track of the 0 elements case