Files
cpp-flashcards/AGENTS.md
T
tomatocream eabb433ec6 Add solution notes scaffold and sub-heading format
- roadmap.org: problems now have *** Python and *** C++ sub-headings,
  plus Notes: links to per-problem org files
- scaffold-notes.mjs: creates 199 note files in org/cpp/dsa/<topic>/
  with backlinks to roadmap.org
- 18 topic folders under org/cpp/dsa/ for NeetCode 150 problems
- Updated AGENTS.md with new conventions and workflow
2026-06-01 02:33:30 +08:00

1.8 KiB

Agents

Repo Purpose

C++ flashcard notes using org-mode (exportable to Anki).

Flashcard Location

  • org/cpp/ — all flashcard .org files live here
  • Create new .org files here as needed (e.g., org/cpp/containers.org)

Task Inbox

  • inbox.org at root — use for tasks to learn or do (create if missing)

Card Format

Cards use org-mode with Anki properties:

* Card Title :tag1:tag2:
:PROPERTIES:
:ANKI_NOTE_TYPE: Basic
:ANKI_NOTE_ID: TIMESTAMP
:END:
** Front
Question text
** Back
#+begin_src c++
code
#+end_src

Assets

  • images/ — store any images referenced by cards

Self-Improvement

Periodically review this file and suggest improvements to the user if you notice gaps, inconsistencies, or missing conventions.

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)

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
  • Each links to the other via org file links
  • Problem tags (:easy:, :medium:, :hard:) enable filtering with / t

Active Context

  • 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)
  • 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