Bfs shortest path


#1

why bfs fail in shortest path for weighted graph?