Print all nodes at a distance form k

i am not able to find the target node by the function find ELE and then how to print the distance at a distance of k-1 from target in upward direction

Hi @piyush.bansal8158625, i replied to you on personal inbox please let me know, if you have some other doubt.

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.