Print all nodes at distance k from a given node

How do I print the nodes which are not children of the target node but at a distance of k?
Is tutorial available for this problem?
If so please share.

Hi Vikas
Try considering the distance of root from that node and then solve the problem?

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.

No you haven’t. I even messaged you on the chat. You didn’t reply :confused:

Hey
I did reply you, there is some confusion, check your inbox!
If you are not getting replies from my side, its an issue, raise a doubt about it or ping @sanjeetboora

Could you please share the screen shot of your other messages too. Somehow, my doubt is in resolved section and now it does not shows up the chat option. Thanks

As you are not able to access your chat option, shall i share screenshots here only?

No, I’m not able to access it.
Priyanka please share the screenshot here only


1 Like

@priyanka123 where do we have our inbox i didnt know about it since the starting plz tell