Depth First Search (DFS) Algorithm in Graph Theory
Comprehensive explanation of the Depth First Search (DFS) algorithm with source code and video slides, focusing on graph traversal techniques.
🔥 Related Trending Topics
LIVE TRENDSThis video may be related to current global trending topics. Click any trend to explore more videos about what's hot right now!
THIS VIDEO IS TRENDING!
This video is currently trending in Pakistan under the topic 'f'.
About this video
Depth First Search (DFS) algorithm explanation
Source code:
https://github.com/williamfiset/algorithms#graph-theory
Video Slides:
https://github.com/williamfiset/Algorithms/tree/master/slides/graphtheory
0:00 Depth first search as an algorithm template
1:04 Simple DFS example
3:30 Depth first search pseudocode
5:10 Finding connected components with a DFS
7:32 connected components source code
9:27 What else is a DFS useful for?
===================================
Practicing for interviews? I have used, and recommend `Cracking the Coding Interview` which got me a job at Google. Link on Amazon: https://amzn.to/3cvMof5
A lot of the content on this channel is inspired by the book `Competitive Programming` by Steven Halim which I frequently use as a resource and reference. Link on Amazon: https://amzn.to/3wC2nix
Support me by purchasing the full graph theory course on Udemy which includes additional problems, exercises and quizzes not available on YouTube:
https://www.udemy.com/course/graph-theory-algorithms
Video Information
Views
541.8K
Total views since publication
Likes
7.2K
User likes and reactions
Duration
10:20
Video length
Published
Apr 1, 2018
Release date
Quality
hd
Video definition
About the Channel
Tags and Topics
This video is tagged with the following topics. Click any tag to explore more related content and discover similar videos:
#tutorial #example #programming #coding #computer #science #dfs #depth first search #recursive #connected components #pseudo code #applications #traversal #graph exploration #recursion #DFS
Tags help categorize content and make it easier to find related videos. Browse our collection to discover more content in these categories.