Competitive Programming
Arrays to DP, graphs, and bit tricks — patterns that unlock most coding interview problems.
Coding · System design · AI · in one place
Three parts in one book. Competitive programming patterns in plain English with working Python and Java. System design from first principles through WhatsApp, Amazon, and YouTube. And a hands-on tour of modern AI — RAG, agents, memory, MCP, and skills. Plus Interview Labs with questions actually asked in hiring loops.
Real HTML chapters — selectable text, syntax-styled code, and diagrams only where a picture helps.
Arrays to DP, graphs, and bit tricks — patterns that unlock most coding interview problems.
Building blocks plus walkthroughs for URL shorteners, chat, feeds, storage, video, and ride hailing.
A deep, story-driven path: how LLMs work, prompting, RAG, memory, agents, MCP, skills, and designing a full assistant.
Real prompts from FAANG and product-company loops — expandable solutions, follow-ups, and talking tracks.
FAANG-frequency problems from Two Sum to Alien Dictionary — step-by-step with diagrams and code.
URL shortener through Dropbox, payments, crawlers, and Kafka — whiteboard tracks with diagrams.
RAG, agents, inference serving, copilots, feature stores, and injection defenses — with failure modes.
Jump into any chapter. Each one is a normal web page you can search, copy, and skim.
Architecture sketches redrawn as clean SVGs for each topic — not photographed PDF pages.