This commit is contained in:
2026-06-01 18:12:40 +08:00
parent c9fe2fab76
commit 0f9312eaee
206 changed files with 409 additions and 215 deletions
+18 -3
View File
@@ -23,6 +23,8 @@ An Anki-exportable study deck for NeetCode DSA problems.
org/study_deck_02/
├── AGENTS.md ← you are here
├── roadmap.org ← generated by leetcode/extract.mjs
├── toolkit/
│ └── tricks.org ← common patterns & templates
└── dsa/
├── arrays-hashing/
│ ├── 0217-contains-duplicate.org
@@ -48,12 +50,14 @@ org/study_deck_02/
18 topics, 199 problems (NeetCode 150).
## The `#+PROPERTY: STUDY_DECK_02` Header
## The `#+ANKI_DECK: study_deck_02` Header
Every `.org` file in this deck has `#+PROPERTY: STUDY_DECK_02` at the
Every `.org` file in this deck has `#+ANKI_DECK: study_deck_02` at the
top. This tells org-anki which Anki deck to export into. Without it,
the file won't be picked up by the exporter.
To override per-card, use `:ANKI_DECK:` in the properties drawer.
## Roadmap Format
Each problem in roadmap.org uses a properties drawer to keep links tidy:
@@ -78,7 +82,7 @@ Each problem note links back to the roadmap via the `NEETCODE` property:
```org
* TODO 0217. Contains Duplicate :easy:
#+PROPERTY: STUDY_DECK_02
#+ANKI_DECK: study_deck_02
:PROPERTIES:
:NEETCODE: [[../../roadmap.org::*0217. Contains Duplicate][Roadmap]]
:END:
@@ -121,3 +125,14 @@ This deck starts with NeetCode 150. To add more:
header. They'll all export to the same Anki deck.
- **Flashcards** — add `** Front` / `** Back` sections to any note
for Anki-style cards (see root `AGENTS.md` for format).
## Backlinking Convention
Every `.org` file should link back to `roadmap.org` via a property:
- Problem notes use `:NEETCODE:` linking to the roadmap heading
- Toolkit/tricks use `:ROADMAP:` linking to a relevant problem
- Roadmap entries use `:TRICK:` linking to relevant tricks
This keeps the web of links navigable in both directions — from
roadmap to notes, from notes to tricks, and tricks back to problems.