Some of the test case are not passed

here is my code :-

Please check …

hi Jitin,
Your code is right but your logic is not correct.
Try to solve it using BFS and hashing.
Please let me know if there is any other doubt.

can you provide any testcase.

ohhh…, Now I got it .
Thank you

i m really sorry i couldnt provide you the test case i just saw your reply now.
Please let me know if there is any other doubt.

No problem @Jun18ELX0057 I got it.
Thank you.

1 Like