Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Ultimate Pro subscription. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it’s simply the best investment you can make in your development career.

DFS or BFS Pro

This video was last updated on Jul 28 2020

For a given graph, determine which traversal (DFS or BFS) is better for discovering if a path exists between certain nodes.