Bidirectional Search

From Wiki :-)
Revision as of 06:43, 3 October 2020 by Savoundg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Bidirectional Search is an algorithm that finds the shortest path between two nodes.

It uses two BFS from each node until they collide. This algorithm is faster than BFS.