Depth-first search
Cited by 9
- Leetcode: 749. Contain Virus
- Leetcode: 924. Minimize Malware Spread
- Leetcode: 2322. Minimum Score After Removals on a Tree
- Leetcode: 124. Binary Tree Maximum Path Sum
- Leetcode: 1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
- Leetcode: 489. Robot Room Cleaner
- Leetcode: 2477. Minimum Fuel Cost to Report to the Capital
- Leetcode: 126. Word Ladder II
- Leetcode: 2385. Amount of Time for Binary Tree to Be Infected