Coding, system design, and AI in one place — published as a real HTML book, rewritten for how interviewers score answers.
Live site: https://interview-prep.devninja.in/
- Competitive Programming — patterns from arrays and hashing through graphs, DP, and bit manipulation (Python & Java).
- System Design — fundamentals, building blocks, and case studies (URL shortener, WhatsApp, Instagram, Amazon, S3, YouTube, Uber).
- AI Engineering — a deep story-driven path: LLMs, prompting, RAG, memory, agents, MCP, skills, and designing a full assistant (
content/ai/). - Interview Labs — 55 FAANG-frequency questions (20 coding, 18 system design, 17 AI) with why-asked, level expectations (Junior→Principal), expected arcs, follow-ups, common mistakes, and production examples.
- Guides — interview playbook, role learning paths, comparisons, company guides, behavioral/HR, and cheat sheets.
Chapters are normal web pages (selectable text + code blocks). Topic diagrams are freshly drawn SVGs — not PDF page screenshots. Labs track practiced questions in the browser (localStorage).
python3 -m http.server 8080Then open http://localhost:8080 or any file under chapters/.
pip install pymupdf
python3 scripts/generate_diagrams.py # native SVG topic diagrams
python3 scripts/build_chapters.py # HTML chapters from PDF (skips hand-authored AI; re-applies interview labs)
python3 scripts/assemble_ai_chapters.py # deep AI section from content/ai/
python3 scripts/assemble_interview.py # Interview Labs + enrichment + chapter drills
python3 scripts/assemble_guides.py # Playbook, paths, comparisons, companies, behavioralPrimary URL: https://interview-prep.devninja.in/
src/index.jsservesenv.ASSETS.assetsignoreexcludes.git- Deploy command:
npx wrangler deploy
| Path | Purpose |
|---|---|
index.html |
Landing page & table of contents |
chapters/ |
HTML chapters (text, code, embedded diagrams) |
chapters/interview-*.html |
Coding / System Design / AI Interview Labs |
| `chapters/*-playbook | paths |
assets/diagrams/ |
Diagram images only |
assets/interview-prep.pdf |
Original PDF |
assets/nav.json |
Chapter navigation |
scripts/assemble_interview.py |
Builds labs, injects enrichment + topic drills |
scripts/assemble_guides.py |
Builds guide pages |
scripts/interview_enrichment.py |
Per-question interviewer lens data |
read.html |
Redirects into the chapter reader |
←/→— previous / next chapterEsc— close mobile contents