S8:E1 - "Getting deep with depth-first search" - podcast episode cover

S8:E1 - "Getting deep with depth-first search"

Oct 16, 201926 minTranscript available on Metacast
--:--
--:--
Listen in podcast apps:

Episode description

We ended last season by starting our discussion of searching, or traversing, through a graph with breadth-first search (BFS). The breadth-first search algorithm traverses broadly into a structure, by visiting neighboring sibling nodes before visiting children nodes. Now we begin our new season with depth-first search (DFS), which also helps us determine one (of sometimes many) paths between two nodes in the graph, but this time by traversing down one single path in a graph, until we can't go any further, checking one child node at a time. Based on Vaidehi Joshi's blog post, "Deep Dive Through A Graph: DFS Traversal".