Print all nodes at distance k from target


sir/mam,
1 test case failed why?

@Korou
Hey I think your code is correct and working fine at hackerblocks. Can you please submit same code again on hackerblocks and tell me whether it is working there or not. here is the link of question: https://hack.codingblocks.com/app/practice/2/350/problem
Also try to submit same code again, I think they have updated the testcases.

Sir ,all test cases had passed .thank a lot for helping me.

@Korou
Please mark this doubt as resolved. Thanks :grinning:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.