Searching Flashcards
1
Q
What’s a bidirectional bfs and what are applications?
A
If you know the source and destination of the search, you can use bidirectional bfs. Useful for looking up friends of friends in social network.
What’s a bidirectional bfs and what are applications?
If you know the source and destination of the search, you can use bidirectional bfs. Useful for looking up friends of friends in social network.