Time limit error

@S19LPPP0132 hey sambhav there is problem with your bfs function and input’s this the code for this problem kindly refer this code and compare with your code
bfs shortest path

1 Like

thanks i got the mistake !!!