Tag
DFS
Language
- Sep 4, 2024
Depth-First Search: Exploring Deep Before Wide
#DFS#Tree#BinaryTree#Graph - Nov 26, 2024
Understanding Recursion: Functions That Call Themselves
Recursion is a core computational concept where a problem is solved by calling itself on smaller instances. Recursion is key to many algorithms: DFS (Depth-First Search) is often implemented recursively, Dynamic Programming is fundamentally recursion with caching (memoization), and Divide & Conquer uses recursion to split problems into independent subproblems.
#Recursion#DFS#Dynamic Programming#Divide & Conquer - Nov 5, 2025
[Leetcode 17] 电话号码的字母组合
字符串能表示的所有字母组合
#回溯#BFS#DFS - Nov 18, 2025
[Leetcode 101] 对称二叉树
#二叉树#DFS#BFS - Oct 30, 2025
[Leetcode 124] 二叉树中的最大路径和
#二叉树#DFS - Nov 18, 2025
[Leetcode 126] 单词接龙 II
#BFS#DFS#回溯#图 - Nov 18, 2025
[Leetcode 200] 岛屿数量
#DFS#BFS#并查集