Optional directions for the DSA + System Design mind-map repo. Pick what matches your goal (interview speed, teaching, team use, or long-term maintenance). Nothing here is required for the current notes-first setup to stay valid.
Idea Why GitHub Actions Run scripts/validate-problems.sh (and optionally refresh-knowledgebase.sh) on every PR so broken section shapes never merge. Link checker in CI Fail if internal .md links break after refactors (small Python or lychee-style tool). Pre-commit hook Run validation locally before commit; optional auto-run refresh-knowledgebase.sh when only topics/ changed. Scheduled snapshot Nightly workflow that opens a PR only when counts drift (optional; noisy if content churn is low).
Idea Why Spaced-repetition deck export Script to emit CSV/Anki from ## Mind-Map Tags + title → drill recognition cues only. “Redo deck” file Maintain study/redo-queue.md listing LC numbers you missed cold; regenerate from git blame or manual checkboxes. Difficulty progression paths Markdown maps per topic: Easy → Medium → Hard chains with explicit “unlock” links (already partly in patterns). One-page cheat PDF Pandoc build from cheatsheets/ + pattern index for print/offline.
Idea Why Align PROBLEM_INDEX with disk Automated diff: index rows vs topics/** filenames; script reports missing or orphaned files. Company-tag consistency Normalize “Companies” lines across problems for targeted grind lists (Google-heavy DP, etc.). More SD case studies Multi-region, cron at scale, CDC pipelines — same HLD template as existing system-design/hld/. Behavioral story bank Expand interview-prep/ with outline-only STAR templates per LP (no fabricated stories).
Idea Why solutions/go + solutions/jsPackage per LC number with go test / npm test — catches snippet drift; heavier maintenance. leetcode-runner shim Thin CLI that copies snippet into LC-shaped stubs for quick paste-test (personal tooling).
Idea Why MkDocs / VitePress / Docusaurus Sidebar by topic, full-text search, deploy to GitHub Pages for browser study. Unified tag index Generate TAG_INDEX.md from ## Mind-Map Tags lines (rg-friendly backup already exists). CHANGELOG.md for contentHuman-readable log when bulk problems land (teaching cohorts).
Idea Why CONTRIBUTING.md PR checklist: template, diagram rule, run refresh-knowledgebase.sh, link check. Weekly cohort agenda Markdown templates under study/cohorts/ (Week N objectives + problem IDs). Fork-friendly branding Neutralize paths if others fork (optional LICENSE file + short attribution line).
Idea Why Mermaid lint Catch invalid diagrams before merge (some CI integrations support this). Alt text / captions Short line under each diagram for screen readers if you publish HTML. Consistency pass on “At a Glance” Normalize Frequency and Companies format across older files.
Add GitHub Actions only for validate-problems.sh.
Add CONTRIBUTING.md pointing at problem-template.md, diagram rule, and refresh-knowledgebase.sh.
Add a scripts/diff-index-vs-disk.py that compares PROBLEM_INDEX.md table to actual files (report-only).
CI validation — protects 12-section + diagram discipline.
CONTRIBUTING.md — saves you explaining rules every time.
Index vs disk diff script — keeps PROBLEM_INDEX.md honest as you grow.
See also: AGENTS.md in the repository root (continuing work table), Archived implementation plan (original scope and Phase 2 notes).
Last updated on
Spotted something unclear or wrong on this page?
Suggest an improvement