Here we try to compile a list of inspiring DFS problems.

See all dfs problems: #dfs

- Review: DFS Problems
- LintCode: Word Synthesis Problem
- LintCode: Island City
- LintCode: Fermat Point Of Graphs
- Leetcode: Word Search
- Leetcode: Univalued Binary Tree
- Leetcode: Ternary Expression Parser
- Leetcode: Surrounded Regions
- Leetcode: Sum of Distances in Tree
- Leetcode: Smallest String Starting From Leaf
- Leetcode: Smallest Rectangle Enclosing Black Pixels
- Leetcode: Shortest Bridge
- Leetcode: Remove Invalid Parentheses
- Leetcode: Populating Next Right Pointers in Each Node
- Leetcode: Number of Islands
- Leetcode: Number of Distinct Islands II
- Leetcode: Number of Distinct Islands
- Leetcode: Maximum Depth of N-ary Tree
- Leetcode: Maximum Average Subtree
- Leetcode: Max Area of Island
- Leetcode: Making A Large Island
- Leetcode: Letter Tile Possibilities
- Leetcode: Keys and Rooms
- Leetcode: Island Perimeter
- Leetcode: Is Graph Bipartite?
- Leetcode: House Robber III
- Leetcode: Generalized Abbreviation
- Leetcode: Flood Fill
- Leetcode: Employee Importance
- Leetcode: Cousins in Binary Tree
- Leetcode: Clone Graph
- Leetcode: All Paths From Source to Target
- Leetcode: 01 Matrix

See more blog_posts.

Share It, If You Like It.