Print all nodes at distance k from a given node

2 test case wrong aa hre h?

hello @rishabh0
pls share ur code using cb ide