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
This commit is contained in:
2026-06-01 02:33:30 +08:00
parent 7371b2617d
commit eabb433ec6
204 changed files with 2686 additions and 403 deletions
@@ -0,0 +1,8 @@
* TODO 0269. Alien Dictionary :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0269. Alien Dictionary][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0332. Reconstruct Itinerary :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0332. Reconstruct Itinerary][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0743. Network Delay Time :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0743. Network Delay Time][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0778. Swim In Rising Water :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0778. Swim In Rising Water][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0787. Cheapest Flights Within K Stops :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0787. Cheapest Flights Within K Stops][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 1584. Min Cost to Connect All Points :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*1584. Min Cost to Connect All Points][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 2493. Divide Nodes Into the Maximum Number of Groups :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*2493. Divide Nodes Into the Maximum Number of Groups][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 2812. Find the Safest Path in a Grid :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*2812. Find the Safest Path in a Grid][Roadmap]]
:END:
#+begin_src cpp
#+end_src