How To Solve Graph Matrix Problems using DFS | Leetcode Flood Fill | CP Course | EP 72

Опубликовано: 04 Май 2026
на канале: Luv
72,378
1.9k

Graph/Trees Playlist :    • Graph & Trees Course  
FREE COMPETITIVE PROGRAMMING COURSE PLAYLIST :    • Competitive Programming/DSA Course | Hindi  

In this Video I explain you how you can solve graphs DFS questions which are given in form of matrix. I also solve leetcode flood fill problem in order to explain this

Practice Questions:
https://leetcode.com/problems/longest...
https://leetcode.com/problems/pacific...
https://leetcode.com/problems/island-...
https://leetcode.com/problems/flood-f...
List of Very Good dfs practice Questions(scroll to end) : https://cp-algorithms.com/graph/depth...


Timestamps:
Explanation: (0:00)
Code: (6:57)

Be a part of our awesome Community. Join
○ Discord :   / discord  
○ Telegram : https://t.me/LuvIsMeYT

You can follow me on below platforms for all the latest updates
○ Instagram :   / i._m_.luv  
○ Twitter :   / luvk1412  
○ Linkedin :   / luvk1412  

Blog(Not frequently updated)
○ Blog : https://www.codewithluv.in


Hashtags
#dfs #matrix #problems #graph