In what cases are Bi-Directional BFS useful? I've solved some problems but haven't found such cases where this bi-directional bfs solution is obvious! Can someone please explain how I can understand where to use bi-directional bfs or not and specially what problems it actually deals with?
Thanks_in_Advance! :)
Read the first part of this answer for a practical example https://www.quora.com/What-is-the-best-programming-algorithm-that-you-have-ever-created/answer/Leo-Polovets?srid=Rp4g.