## Tag: dfs

### Capture Regions on Board | InterviewBit | Solution Explained

I explain the solution to the problem Capture Regions on Board in detail, along with visuals and...

### Path in Directed Graph | InterviewBit | Solution Explained

I explain the solution to Path in Directed Graph in detail, along with visuals to help make...

### Unique Paths III | Backtracking Solution Explained

LeetCode 980. Unique Paths III. We are going to look at the backtracking approach in detail using visuals...

### Surrounded Regions | DFS Solution Explained

LeetCode 130. Surrounded Regions. I solve the problem using DFS approach. This is more of an implementation based...

### Count Complete Tree Nodes | Solution (Explained)

LeetCode 222. Count Complete Tree Nodes is a medium problem if you go by the naive solution. To...

### Path Sum III | Solution Explained

LeetCode 437. Path Sum III. I explain the brute-force solution and the optimized solutions in detail for reducing...

### Perfect Squares | LeetCode | Solution Explained

279. Perfect Squares on LeetCode is a mathematical problem, requiring us to pair math with algorithms. I explore...

### Diameter of Binary Tree | LeetCode | Solution Explained

Finding the Diameter of Binary Tree is a classic problem when it comes to understanding the basics...

### Word Search II | LeetCode | Solution Explained

Word Search II is an amazing problem, building on top of two other problems: Word Search I...

### Island Perimeter | LeetCode | Solution Explained

463. Island Perimeter is an easy problem on LeetCode. I explore the Iterative solution and the depth first...