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 npm run docs:check-dsa on every PR so broken frontmatter and internal links 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 npm run docs:sync-dsa when DSA source files 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, npm run docs:sync-dsa, and npm run docs:check-dsa. 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. Docs visual enrichment pass Use Docs visual enrichment workflow to add diagrams where pages require mental simulation of states, flows, or tradeoffs. Consistency pass on “At a Glance” Normalize Frequency and Companies format across older files.
Add GitHub Actions only for npm run docs:check-dsa.
Add CONTRIBUTING.md pointing at problem-template.md, diagram rule, and npm run docs:sync-dsa.
Add a scripts/diff-index-vs-disk.py that compares PROBLEM_INDEX.md table to actual files (report-only).
CI validation — protects 16-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: Archived implementation plan (original scope and Phase 2 notes).
Mark this page when you finish learning it.
Last updated on
Spotted something unclear or wrong on this page?
Suggest an improvement