In this tutorial, I explain the concept of Depth First Search (DFS) in graph traversal, emphasizing the use of a Recursion based approach. You'll learn how DFS works step-by-step, both conceptually and in code, with clear, beginner-friendly explanations.
This lesson is perfect for anyone preparing for frontend engineering interviews or strengthening their JavaScript fundamentals. During the session, I live code a JavaScript implementation of DFS, walking you through:
DFS using Recursion in Javascript
00:00 Intro
00:20 Node Processing
02:38 DFS Recursion Intuition
08:20 Live Code
11:26 Recursion vs Iterative - Differences
Connect :
LinkedIn : https://www.linkedin.com/in/sourav-singh-6b57b5101/
Instagram : sourav_singh_diaries
For career consultations :
https://topmate.io/sourav_singh11
🌍💻 I am a software engineer working at Amazon, previously worked at Disney+Hotstar with an overall experience of around 7 years. Welcome to Sourav Singh Diaries 🪄
For business queries : [email protected]
Download
0 formats
No download links available.
Lesson 5 : DFS using Recursion | JavaScript | Node processing | Custom Stack vs Recursion | NatokHD