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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly