按题型和难度整理的 LeetCode 学习记录。每道题保留 PatrickCCC 最新的 Accepted Python3 源码,以及对应的学习与提交元数据。
| Day | 学习日期 | 题目 | 细分类 | 语言 | 状态 |
|---|---|---|---|---|---|
| 1 | 2026-07-10 | 0104. Maximum Depth of Binary Tree | 二叉树 | Python3 | Accepted |
| 2 | 2026-07-20 | 0100. Same Tree | 双树比较 | Python3 | Accepted |
| 3 | 2026-07-21 | 0226. Invert Binary Tree | 二叉树 | Python3 | Accepted |
| 4 | 2026-07-22 | 0021. Merge Two Sorted Lists | 链表归并 | Python3 | Accepted |
| 5 | 2026-07-23 | 0206. Reverse Linked List | 链表反转 | Python3 | Accepted |
| Day | 学习日期 | 题目 | 细分类 | 语言 | 状态 |
|---|---|---|---|---|---|
| 6 | 2026-07-24 | 0024. Swap Nodes in Pairs | 链表分组 | Python3 | Accepted |
| 7 | 2026-07-27 | 0050. Pow(x, n) | 快速幂 | Python3 | Accepted |
| 8 | 2026-07-28 | 0779. K-th Symbol in Grammar | 父子定位 | Python3 | Accepted |
| 9 | 2026-07-29 | 0078. Subsets | 回溯 | Python3 | Accepted |
| 10 | 2026-07-30 | 0022. Generate Parentheses | 剪枝 | Python3 | Accepted |
| 11 | 2026-08-03 | 0046. Permutations | 回溯 | Python3 | Accepted |
| 12 | 2026-08-04 | 0241. Different Ways to Add Parentheses | 分治 | Python3 | Accepted |
| Day | 学习日期 | 题目 | 细分类 | 语言 | 状态 |
|---|---|---|---|---|---|
| 13 | 2026-08-05 | 0051. N-Queens | 回溯 | Python3 | Accepted |
| 14 | 2026-08-06 | 0037. Sudoku Solver | 约束搜索 | Python3 | Accepted |
| Day | 学习日期 | 题目 | 细分类 | 语言 | 状态 |
|---|---|---|---|---|---|
| 15 | 2026-08-10 | 1971. Find if Path Exists in Graph | DFS-BFS | Python3 | Accepted |
| 16 | 2026-08-11 | 0733. Flood Fill | 网格遍历 | Python3 | Accepted |
| Day | 学习日期 | 题目 | 细分类 | 语言 | 状态 |
|---|---|---|---|---|---|
| 17 | 2026-08-12 | 0841. Keys and Rooms | 可达性 | Python3 | Accepted |