Find cycle 207. Course Schedulearrow-up-right
No. 89: Gray Code (Definition question)
No. 93: Restore IP Addresses
733. Flood Fillarrow-up-right
200. Number of Islandsarrow-up-right
No. 282: Expression Add Operators
No. 399: Evaluate Division
No. 78 Subsets
No.90 Subsets I
102. Binary Tree Level Order Traversalarrow-up-right
542. 01 Matrixarrow-up-right
994. Rotting Orangesarrow-up-right
No. 127. Word Ladder
No. 126. Word Ladder || (Bidirectional BFS)
257. Binary Tree Pathsarrow-up-right
No. 22: Generate Parentheses: DFS backtrack
39. Combination Sumarrow-up-right
79. Word Search – DFS
Pruning: consider freq, can reverse the word, start from low freq.
212. Word Search II – backtracking + trie
329. Longest Increasing Path in a Matrix – DFS + DP memoization
139. Word Breakarrow-up-right
140. Word Break II – DFS + memoization (backtracking with DP)
694. Number of Distinct Islands – DFS + canonical shape representation
301. Remove Invalid Parentheses – backtracking + pruning
Last updated 2 months ago