it passes only one test case
Print all nodes at distance k
what changes i have to made in this ?
here is my corrected code
it is not working fine
please debug it
@naazsayma123 check for this
15
12 10 17 22 20 85 74 38 23 64 46 51 65 99 87
10 12 17 20 22 23 38 46 51 64 65 74 85 87 99
1
17 3
what correction i have to made in my code?