diff --git a/AGENTS.md b/AGENTS.md index 247d5e2..dd9c1fc 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,11 +32,13 @@ code ## 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`. + ## Active Context -- Branch: `master`, 1 commit ahead of origin (unpushed) -- Untracked files: `org/cpp/dsa/` and `org/cpp/ufds.org` (not yet committed) -- Current work: UFDS flashcards (402-line proper card set) + DSA subdirectory +- 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` diff --git a/leetcode/AGENTS.md b/leetcode/AGENTS.md new file mode 100644 index 0000000..06a75f6 --- /dev/null +++ b/leetcode/AGENTS.md @@ -0,0 +1,85 @@ +# AGENTS.md — leetcode/ + +## What This Is + +An idempotent extractor that pulls the NeetCode roadmap dependency graph +and problem list from the live site (neetcode.io). Outputs structured +JSON, Graphviz DOT, and Emacs org-mode files. + +## How It Works + +NeetCode is an Angular SPA. The data we need is split across lazy-loaded +JS chunks: + +1. **HTML** (`/roadmap`) — contains the `