refactor: move DSA notes to org/study_deck_02/

Restructure NeetCode study materials into a dedicated Anki-exportable
deck directory. Separates DSA problem notes from C++ flashcards.

- Move roadmap.org from leetcode/out/ to org/study_deck_02/
- Move 200 note files from org/cpp/dsa/ to org/study_deck_02/dsa/
- Add #+PROPERTY: STUDY_DECK_02 to all org files for org-anki export
- Simplify roadmap format: properties drawer replaces nested headings
- Update NEETCODE backlinks in all note files
- Update extract.mjs and scaffold-notes.mjs for new paths
- Create org/study_deck_02/AGENTS.md with study workflow docs
- Update root and leetcode AGENTS.md
This commit is contained in:
2026-06-01 16:12:21 +08:00
parent 1d88296bf6
commit dfadc1ca48
211 changed files with 2240 additions and 1908 deletions
+7 -5
View File
@@ -34,11 +34,12 @@ Periodically review this file and suggest improvements to the user if you notice
## Subdirectories
- `leetcode/` — NeetCode roadmap extractor (dependency graph + problem list). See `leetcode/AGENTS.md`.
- `org/cpp/dsa/` — LeetCode solution notes, one file per problem, organized by topic (18 folders)
- `org/study_deck_02/` — Anki study deck for NeetCode DSA problems. See `org/study_deck_02/AGENTS.md`.
- `org/cpp/` — C++ flashcard notes (non-DSA topics: containers, iterators, etc.)
## LeetCode Workflow
- `leetcode/out/roadmap.org` — tracker only (`**` headings, `g c c` to toggle DONE)
- `org/cpp/dsa/<topic>/<problem>.org` — your notes, solutions, flashcards
- `org/study_deck_02/roadmap.org` — tracker only (`**` headings, `g c c` to toggle DONE)
- `org/study_deck_02/dsa/<topic>/<problem>.org` — your notes, solutions, flashcards
- Each links to the other via org file links
- Problem tags (`:easy:`, `:medium:`, `:hard:`) enable filtering with `/ t`
@@ -46,6 +47,7 @@ Periodically review this file and suggest improvements to the user if you notice
<!-- AI assistant maintains this section. Keep under 20 lines. -->
<!-- Updated automatically by /self-improve. Remove stale entries. -->
- Branch: `master`, up to date with origin
- Current work: `leetcode/out/roadmap.org` — NeetCode 150 roadmap as org-mode checklists (199 problems, 18 topics, Python/C++ solution links)
- DSA notes moved from `org/cpp/dsa/` to `org/study_deck_02/dsa/`
- All files carry `#+PROPERTY: STUDY_DECK_02` for org-anki export
- Inbox items: binary search, `using` keyword — need cards created
- Possible cleanup: `org/cpp/dsa/udfs.org` may be a superseded draft of `org/cpp/ufds.org`
- Possible cleanup: `org/study_deck_02/dsa/udfs.org` may be a stale draft of `org/cpp/ufds.org`