Leetcode_problems: merge feat/upgrade into main
Ā
AL
2mo ago+1837+1837+0123456789012345678901234567890123456789-89-89-01234567890123456789
This PR brings the feat/upgrade work into main for Leetcode_problems ā 9 commits, 23 files changed, 1837 insertions(+), 89 deletions(-).
What's in here
- chore: keep internal growth/marketing notes out of the repo
- docs: star-growth hook, SEO page titles, lessons index, growth kit
- docs: trending polish ā pattern index, live demo URL, banner prompt, FUNDING
- chore: community health, dependency bots, pre-commit, banner brief
- feat: gated docs deploy + AI explanation/review workflows
- ci: real compile/lint gates replacing the vacuous g++ CI
- feat: add C++/SQL/docs tooling configs
- feat: add progress generator and reconcile stats from a single source
- chore: relicense to MIT and reconcile README stats
Files
23 files changed, 1837 insertions(+), 89 deletions(-)
š¤ Generated with Claude Code
Summary by cubic
Modernizes the archive: re-licensed to MIT, progress stats now generated from a single source instead of hand-maintained tables, and strict CI that actually compiles and lints the snippets. A generated mkdocs site makes all 173 problems searchable.
-
New Features
scripts/generate_progress.pyreconciles unique slugs vs total submission files and updates the README stats block plusdocs/progress.json.mkdocs-materialsite with per-problem pages, verdict history, and language tabs; deploy to Cloudflare Pages is gated on secrets.- Automated explanation generator writes
EXPLANATION.mdfor accepted solutions, comparing them against the recorded failed attempts, and opens a PR with the changes. - Exact-match SEO page titles via
scripts/problem_numbers.json. - README overhauled with dynamic badges, Lessons and pattern indexes, and corrected SQL labeling.
- LICENSE adds a LeetCode IP note; added FUNDING, SECURITY policy, and a solution issue template.
-
CI/Tooling
- Real C++ syntax gate: injects
#include <bits/stdc++.h>+using namespace std;then runsg++ -std=c++20 -fsyntax-only. clang-format+cpp-linterfor C++;sqlflufflint for.oraclesqland.mysql.- Progress check (
generate_progress.py --check) andmkdocs build --strictenforced in CI. - Pre-commit mirrors the gates; added
.clang-format,.sqlfluff,.gitattributes,.gitignore. - Dependabot for
github-actionsand pip docs deps; CodeRabbit and Claude PR review gated on secrets.
- Real C++ syntax gate: injects