LeetCode topics — DFS & BFS, Backtracking
Questions
DFS & BFS
- 993. Cousins in Binary Tree
- 200. Number of Islands
- 286. Walls and Gates
- 130. Surrounded Regions
- 1457. Pseudo-Palindromic Paths in a Binary Tree
- 1718. Construct the Lexicographically Largest Valid Sequence
- 1602. Find Nearest Right Node in Binary Tree
- 339. Nested List Weight Sum
- 364. Nested List Weight Sum II
- 1730. Shortest Path to Get Food
- 127. Word Ladder
- 126. Word Ladder II
- 1088. Confusing Number II
- 752. Open the Lock
Backtracking
- 51. N-Queens
- 52. N-Queens II
- 78. Subsets
- 90. Subsets II
- 77. Combinations
- 39. Combination Sum
- 40. Combination Sum II
- 216. Combination Sum III
- 377. Combination Sum IV
- 254. Factor Combinations
- 46. Permutations
- 47. Permutations II
- 31. Next Permutation
- 60. Permutation Sequence
- 526. Beautiful Arrangement
- 131. Palindrome Partitioning
- 291. Word Pattern II
- 17. Letter Combinations of a Phone Number
- 282. Expression Add Operators
- 140. Word Break II
- 351. Android Unlock Patterns
- 939. Minimum Area Rectangle