16 Commits

Author SHA1 Message Date
tomatocream e10cc4257d add flashcard generation tooling and binary search cards
- gen-flashcards.py: auto-generate recognition cards from all problem files
- toolkit/gen-problem-cards.org: 199 auto-generated problem cards
- 5 binary search tool cards (std::binary_search, std::lower_bound, comparison, two-sum pattern, sorting gotcha)
- two-sum.org: add binary search C++ attempt
- lc-org.el: add doom emacs localleader keybinding support
2026-06-08 11:38:09 +08:00
tomatocream c67841fe07 upd 2026-06-08 11:38:09 +08:00
tomatocream 14d05011d5 upd 2026-06-08 11:38:09 +08:00
tomatocream 0aed1528e2 upd 2026-06-05 22:18:39 +08:00
tomatocream 0f9312eaee upd 2026-06-01 18:17:37 +08:00
tomatocream c9fe2fab76 feat: add TOO_EASY todo keyword via dir-locals
Sets org-todo-keywords for all files under org/study_deck_02/.
TOO_EASY counts as done in [/] checklist counters.
2026-06-01 17:50:05 +08:00
tomatocream 03561f8d10 update roadmap: mark 0217 Contains Duplicate as DONE 2026-06-01 17:36:33 +08:00
tomatocream fc6e664ff9 solve: 0217 Contains Duplicate (C++ set approach) 2026-06-01 17:36:12 +08:00
tomatocream 7659303fb0 docs: add populate-notes.mjs to leetcode/AGENTS.md 2026-06-01 17:36:12 +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 a50f4a121b fix: solution links in properties drawer, TODO sub-headings for tracking 2026-06-01 16:57:31 +08:00
tomatocream 1853f99367 fix: restore Python/C++ as TODO sub-headings in roadmap
Move CPP and PYTHON back to *** TODO sub-headings instead of
properties drawer entries. Remove [My Solution] from Notes links.
2026-06-01 16:55:51 +08:00
tomatocream 702213e83e remove solution 2026-06-01 16:53:12 +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