So I am just doing some work for my algorithms class and I was just wonder does a BFS tree ever fail on finding the single source shortest path I know that BFS finds the shortest path with the least amount of edges and I am pretty convinced BFS never fails on a unweighted graph
Ive drew multiple graphs by hand and the bfs graph and they all have turned out to be the single single source shortest path.
I think that BFS never fails to find the shortest path because BFS: