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 0004. Median of Two Sorted Arrays :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0004. Median of Two Sorted Arrays][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0033. Search In Rotated Sorted Array :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0033. Search In Rotated Sorted Array][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0074. Search a 2D Matrix :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0074. Search a 2D Matrix][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0153. Find Minimum In Rotated Sorted Array :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0153. Find Minimum In Rotated Sorted Array][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0704. Binary Search :easy:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0704. Binary Search][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0719. Find K-th Smallest Pair Distance :hard:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0719. Find K-th Smallest Pair Distance][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0875. Koko Eating Bananas :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0875. Koko Eating Bananas][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 0981. Time Based Key Value Store :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*0981. Time Based Key Value Store][Roadmap]]
:END:
#+begin_src cpp
#+end_src
@@ -0,0 +1,8 @@
* TODO 2300. Successful Pairs of Spells and Potions :medium:
:PROPERTIES:
:NEETCODE: [[../../../../leetcode/out/roadmap.org::*2300. Successful Pairs of Spells and Potions][Roadmap]]
:END:
#+begin_src cpp
#+end_src