Single Source Shortest Path using BFS Graphs

There is a very small error in my code …I am trying my hard . PLease check it .It will take a bit of seconds for you to find it…Here is a link to my code:

@Kumarrituranjan2056
what is the problem u are facing ??
i c the o/p is correct

i guess u required the same o/p as that in video, so u were missing one edge…line 52 which i have highlighted

thank you…

1 Like