Commit Graph

5 Commits

Author SHA1 Message Date
tomatocream 0f9312eaee upd 2026-06-01 18:17:37 +08:00
tomatocream 1dec88aaf2 feat: populate note files with problem descriptions and code stubs
Add populate-notes.mjs that fetches problem descriptions and
Python/C++ code stubs from LeetCode's GraphQL API. Populated
all 197 NeetCode 150 note files with:
- Problem description (examples, constraints)
- Python code stub (function signature)
- C++ code stub (function signature + includes)

API responses cached in leetcode/.cache/leetcode/ for instant re-runs.
2026-06-01 17:22:07 +08:00
tomatocream e798e449bd fix: move #+PROPERTY: STUDY_DECK_02 to top of file
Org-mode requires global file properties before the first headline.
Moved PROPERTY line above the * TODO heading in all 199 note files
and updated scaffold-notes.mjs template.
2026-06-01 17:12:10 +08:00
tomatocream d674451070 fix: add file: prefix to org-mode links for Emacs resolution
Emorg org-mode requires [[file:path]] syntax for file links to be
clickable. Updated both extract.mjs and scaffold-notes.mjs generators,
and fixed all 200 existing note files.
2026-06-01 17:06:27 +08:00
tomatocream dfadc1ca48 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
2026-06-01 16:12:21 +08:00