Depth First Search Algorithm | Graph Theory

Publié le: 01 avril 2018
sur la chaîne: WilliamFiset
473,108
6.4k

Depth First Search (DFS) algorithm explanation

Source code:
https://github.com/williamfiset/algor...

Video Slides:
https://github.com/williamfiset/Algor...

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-th...


Sur cette page du site, vous pouvez voir la vidéo en ligne Depth First Search Algorithm | Graph Theory durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur WilliamFiset 01 avril 2018, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 473,108 fois et il a aimé 6.4 mille téléspectateurs. Bon visionnage!