https://ide.codingblocks.com/s/452863 not passing test cases
Print all Nodes at K distance from a given node
hello @hrithik-1
push all ur output data inside vector and sort the vector and then print it.
also if there is no output(vector is empty) then print 0
can you check it again i have updated it but it is still failing the test cases
check now->
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.