Skip to content

Commit 576a899

Browse files
lufftwclaude
andcommitted
docs: wire dp_knapsack_subset pattern into indexes
- Add DPKnapsackSubset to docs/patterns/README.md pattern table - Add DPKnapsackSubset to README.md pattern documentation section - Add DPKnapsackSubset to README_zh-TW.md pattern documentation section - Add DP Knapsack/Subset navigation to mkdocs.yml 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 4aae857 commit 576a899

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ Each pattern provides **two learning paths**:
429429
| `Trie` | 💡 [Intuition](docs/patterns/trie/intuition.md) · 🛠️ [Templates](docs/patterns/trie/templates.md) | LeetCode 208, 211, 212, 648, 1268 |
430430
| `GreedyCore` | 💡 [Intuition](docs/patterns/greedy_core/intuition.md) · 🛠️ [Templates](docs/patterns/greedy_core/templates.md) | LeetCode 55, 45, 134, 135, 455, 1029 |
431431
| `DP1DLinear` | 💡 [Intuition](docs/patterns/dp_1d_linear/intuition.md) · 🛠️ [Templates](docs/patterns/dp_1d_linear/templates.md) | LeetCode 70, 198, 213, 121, 746 |
432+
| `DPKnapsackSubset` | 💡 [Intuition](docs/patterns/dp_knapsack_subset/intuition.md) · 🛠️ [Templates](docs/patterns/dp_knapsack_subset/templates.md) | LeetCode 416, 494, 322, 518 |
432433
| `GridBFSMultiSource` | *coming soon* | LeetCode 994, 286, 542 |
433434
| `KWayMerge` | *coming soon* | LeetCode 23, 21, 88 |
434435
| `LinkedListInPlaceReversal` | *coming soon* | LeetCode 25, 206, 92 |

README_zh-TW.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ scripts\run_tests.bat 0001_two_sum
434434
| `Trie` | 💡 [直覺理解](docs/patterns/trie/intuition.md) · 🛠️ [模板](docs/patterns/trie/templates.md) | LeetCode 208, 211, 212, 648, 1268 |
435435
| `GreedyCore` | 💡 [直覺理解](docs/patterns/greedy_core/intuition.md) · 🛠️ [模板](docs/patterns/greedy_core/templates.md) | LeetCode 55, 45, 134, 135, 455, 1029 |
436436
| `DP1DLinear` | 💡 [直覺理解](docs/patterns/dp_1d_linear/intuition.md) · 🛠️ [模板](docs/patterns/dp_1d_linear/templates.md) | LeetCode 70, 198, 213, 121, 746 |
437+
| `DPKnapsackSubset` | 💡 [直覺理解](docs/patterns/dp_knapsack_subset/intuition.md) · 🛠️ [模板](docs/patterns/dp_knapsack_subset/templates.md) | LeetCode 416, 494, 322, 518 |
437438
| `GridBFSMultiSource` | *即將推出* | LeetCode 994, 286, 542 |
438439
| `KWayMerge` | *即將推出* | LeetCode 23, 21, 88 |
439440
| `LinkedListInPlaceReversal` | *即將推出* | LeetCode 25, 206, 92 |

docs/patterns/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Each pattern provides **two learning paths** to help you master the concepts:
4040
| `Trie` | 💡 [Intuition](trie/intuition.md) · 🛠️ [Templates](trie/templates.md) | Prefix tree operations, autocomplete | LeetCode 208, 211, 212, 648, 1268 |
4141
| `GreedyCore` | 💡 [Intuition](greedy_core/intuition.md) · 🛠️ [Templates](greedy_core/templates.md) | Non-interval, non-heap greedy invariants | LeetCode 55, 45, 134, 135, 455, 1029 |
4242
| `DP1DLinear` | 💡 [Intuition](dp_1d_linear/intuition.md) · 🛠️ [Templates](dp_1d_linear/templates.md) | 1D dynamic programming backbone | LeetCode 70, 198, 213, 121, 746 |
43+
| `DPKnapsackSubset` | 💡 [Intuition](dp_knapsack_subset/intuition.md) · 🛠️ [Templates](dp_knapsack_subset/templates.md) | 0/1 and unbounded knapsack patterns | LeetCode 416, 494, 322, 518 |
4344
| `GridBFSMultiSource` | *coming soon* | Multi-source BFS on grids | LeetCode 994, 286, 542 |
4445
| `KWayMerge` | *coming soon* | Merge K sorted sequences | LeetCode 23, 21, 88 |
4546
| `LinkedListInPlaceReversal` | *coming soon* | In-place linked list reversal | LeetCode 25, 206, 92 |

mkdocs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ nav:
176176
- DP 1D Linear:
177177
- Intuition: patterns/dp_1d_linear/intuition.md
178178
- Templates: patterns/dp_1d_linear/templates.md
179+
- DP Knapsack/Subset:
180+
- Intuition: patterns/dp_knapsack_subset/intuition.md
181+
- Templates: patterns/dp_knapsack_subset/templates.md
179182
- 🧠 Mind Maps:
180183
- Overview: mindmaps/index.md
181184
- AI Analysis (English): mindmaps/neetcode-ontology-ai-en.md

0 commit comments

Comments
 (0)