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...
On this page of the site you can watch the video online Depth First Search Algorithm | Graph Theory with a duration of hours minute second in good quality, which was uploaded by the user WilliamFiset 01 April 2018, share the link with friends and acquaintances, this video has already been watched 473,108 times on youtube and it was liked by 6.4 thousand viewers. Enjoy your viewing!