You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Move new_problem, run_case, and run_tests scripts to scripts/
- Update script paths to reference parent directory
- Update all documentation references to new script paths
- Add script documentation to scripts/README.md
Copy file name to clipboardExpand all lines: scripts/README.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,20 @@ This directory contains utility scripts for project maintenance and development.
8
8
9
9
## 📋 Available Scripts
10
10
11
+
### Problem Management Scripts
12
+
13
+
| Script | Purpose | Usage |
14
+
|:-------|:--------|:------|
15
+
|`new_problem.bat` / `new_problem.sh`| Create new problem from template |`scripts\new_problem.bat 0001_two_sum` (Windows)<br>`./scripts/new_problem.sh 0001_two_sum` (Linux/macOS) |
16
+
|`run_tests.bat` / `run_tests.sh`| Run all tests for a problem |`scripts\run_tests.bat 0001_two_sum` (Windows)<br>`./scripts/run_tests.sh 0001_two_sum` (Linux/macOS) |
17
+
|`run_case.bat` / `run_case.sh`| Run single test case |`scripts\run_case.bat 0001_two_sum 1` (Windows)<br>`./scripts/run_case.sh 0001_two_sum 1` (Linux/macOS) |
18
+
19
+
**Features:**
20
+
- ✅ Create problems from templates (single or multi-solution)
21
+
- ✅ Run all test cases or individual cases
22
+
- ✅ Support for benchmarking and multiple solutions
23
+
- ✅ Cross-platform (Windows/Linux/macOS)
24
+
11
25
### Documentation Build Scripts
12
26
13
27
| Script | Purpose | Usage |
@@ -26,6 +40,36 @@ This directory contains utility scripts for project maintenance and development.
0 commit comments