My code is not passing all test cases help needed
Print all nodes at distance k
Hey @56amrut.bhokardankar print endl after printing 0, also no need of some conditions
(i’ve commented them)
now it is accepted
can you please tell the line number(s) where you got unnecessary condition(s)
Line numbers 92 and 114 in your original code