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
+8
View File
@@ -0,0 +1,8 @@
* TODO 0127. Word Ladder :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0127. Word Ladder][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0130. Surrounded Regions :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0130. Surrounded Regions][Roadmap]]
:END:
#+begin_src cpp
#+end_src
+8
View File
@@ -0,0 +1,8 @@
* TODO 0133. Clone Graph :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0133. Clone Graph][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0200. Number of Islands :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0200. Number of Islands][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0207. Course Schedule :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0207. Course Schedule][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0210. Course Schedule II :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0210. Course Schedule II][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0261. Graph Valid Tree :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0261. Graph Valid Tree][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0286. Walls And Gates :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0286. Walls And Gates][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0323. Number of Connected Components In An Undirected Graph :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0323. Number of Connected Components In An Undirected Graph][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0417. Pacific Atlantic Water Flow :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0417. Pacific Atlantic Water Flow][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0684. Redundant Connection :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0684. Redundant Connection][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0695. Max Area of Island :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0695. Max Area of Island][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0802. Find Eventual Safe States :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0802. Find Eventual Safe States][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0994. Rotting Oranges :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0994. Rotting Oranges][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 1905. Count Sub Islands :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*1905. Count Sub Islands][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 2092. Find All People With Secret :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*2092. Find All People With Secret][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 2658. Maximum Number of Fish in a Grid :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*2658. Maximum Number of Fish in a Grid][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 2924. Find Champion II :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*2924. Find Champion II][Roadmap]]
:END:
#+begin_src cpp
#+end_src