In the video, the mentioned condition is
dist[neighbor] >= dist[current]
I am not able to understand how will it work?
If there is an edge between the current and a sibling of parent(now neighbor), won’t it be a back edge?
Please point out if I am wrong somewhere.
