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

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

Oct 16, 201926 min
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

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".
For the best experience, listen in Metacast app for iOS or Android
Open in Metacast
S8:E1 - "Getting deep with depth-first search" | Base.cs Podcast - Listen or read transcript on Metacast