Study path

From foundations to Staff level, in the order worth learning.

Start hereBig-O and complexity analysisPhase 1 · Foundations · Coding patterns: the essentials

One concept at a time: read it, check yourself, review it the same day.

1Foundations

Everything a Staff engineer or AI architect is expected to explain without notes.

Coding patterns: the essentials11
  1. 1Big-O and complexity analysisnext
  2. 2Hash maps, sets and prefix sums
  3. 3Prefix sums and difference arrays
  4. 4Two pointers
  5. 5Sliding window
  6. 6Binary search and search on the answer
  7. 7Linked lists
  8. 8Binary trees and BSTs
  9. 9Stacks and monotonic stacks
  10. 10Heaps and top-K
  11. 11Interval problems: sort and sweep
How an LLM works9
  1. 12Tokens & tokenization
  2. 13Embeddings
  3. 14Transformer architecture
  4. 15Self-attention
  5. 16Context window
  6. 17Decoding & sampling (temperature, top-p)
  7. 18KV cache
  8. 19How LLMs are trained
  9. 20Hallucinations: why they happen
Talking to the model7
  1. 21Anatomy of a prompt
  2. 22Zero-shot vs few-shot prompting
  3. 23Chain-of-thought (CoT)
  4. 24Structured outputs & JSON mode
  5. 25Prompt techniques that matter
  6. 26Prompt caching
  7. 27Lost in the middle & context rot
RAG essentials10
  1. 28RAG (Retrieval-Augmented Generation)
  2. 29Document ingestion & parsing
  3. 30Chunking strategies
  4. 31Choosing an embedding model
  5. 32Vector databases
  6. 33Lexical search & BM25
  7. 34Hybrid search & RRF
  8. 35Reranking (cross-encoders)
  9. 36Citations & grounding
  10. 37Metadata filters & permission-aware retrieval
Agent essentials9
  1. 38Agents vs workflows
  2. 39Tool / function calling
  3. 40ReAct: the agent loop
  4. 41Pattern: prompt chaining
  5. 42Pattern: routing
  6. 43Pattern: parallelization
  7. 44Model Context Protocol (MCP)
  8. 45Human-in-the-loop & approvals
  9. 46Agent reliability: budgets & loops
Measuring quality8
  1. 47Eval-driven development
  2. 48Error analysis: look at your data
  3. 49Golden datasets & test sets
  4. 50Code-based graders & assertions
  5. 51LLM-as-a-judge
  6. 52Precision, recall, F1, ROC-AUC
  7. 53Non-determinism: pass@k & variance
  8. 54Offline vs online evaluation
Production basics6
  1. 55Latency metrics: TTFT, TPOT, throughput
  2. 56Prefill vs decode
  3. 57Streaming responses (SSE)
  4. 58Token economics & cost estimation
  5. 59API vs self-hosting
  6. 60LLM observability & tracing
Security essentials6
  1. 61Prompt injection (direct & indirect)
  2. 62The lethal trifecta
  3. 63Jailbreaks
  4. 64OWASP Top 10 for LLM apps
  5. 65Guardrails: input, output, action
  6. 66PII & data privacy
The big picture (interview-ready)4
  1. 67Reference architecture of an LLM application
  2. 68Quality, latency, cost: the AI trade-off triangle
  3. 69The GenAI system design framework
  4. 70Back-of-the-envelope estimation
Phase projectA RAG assistant you can prove works0/6 milestones

2Build and run at scale

The depth senior engineers are probed on: the how and the why behind each choice.

Models and adaptation9
  1. 71Reasoning models & test-time compute
  2. 72Multimodal models
  3. 73Encoder vs decoder models (BERT vs GPT)
  4. 74Choosing a model
  5. 75Prompt → RAG → fine-tune: the decision
  6. 76Supervised fine-tuning (SFT)
  7. 77LoRA & QLoRA
  8. 78Knowledge distillation
  9. 79Synthetic data
Advanced RAG9
  1. 80Query transformation (rewrite, HyDE)
  2. 81Contextual retrieval
  3. 82ANN indexes: HNSW, IVF, PQ
  4. 83Evaluating RAG
  5. 84Long context vs RAG
  6. 85Agentic RAG
  7. 86GraphRAG & knowledge graphs
  8. 87Late interaction (ColBERT)
  9. 88Index freshness & lifecycle
Advanced agents10
  1. 89Designing tools for agents (ACI)
  2. 90Context engineering
  3. 91Pattern: orchestrator–workers
  4. 92Pattern: evaluator–optimizer
  5. 93Planning (plan-and-execute)
  6. 94Agent memory
  7. 95Multi-agent systems
  8. 96Durable execution for agents
  9. 97Computer use & browser agents
  10. 98Agent-to-agent protocols (A2A)
Serving, latency and cost11
  1. 99GPU memory math
  2. 100Continuous batching
  3. 101PagedAttention & vLLM
  4. 102FlashAttention
  5. 103Quantization (INT8, INT4, FP8)
  6. 104Speculative decoding
  7. 105Self-hosted serving stack
  8. 106Batch inference
  9. 107Model routing & cascades
  10. 108Semantic caching
  11. 109LLM gateway
Advanced quality: evals and prompts9
  1. 110Human evaluation & annotation
  2. 111Measuring hallucination & groundedness
  3. 112Evaluating agents
  4. 113A/B testing LLM features
  5. 114Public benchmarks & contamination
  6. 115Evals in CI/CD & release gates
  7. 116Prompts as code: versioning
  8. 117Self-consistency & best-of-N
  9. 118Automatic prompt optimization (DSPy)
ML foundations12
  1. 119Supervised learning, bias–variance & overfitting
  2. 120Loss functions & gradient descent
  3. 121Regularization
  4. 122Neural networks & backpropagation
  5. 123Gradient-boosted trees (GBDT)
  6. 124Feature engineering & data leakage
  7. 125Class imbalance & calibration
  8. 126Learning to rank (LTR)
  9. 127Exploration: multi-armed bandits
  10. 128Computer vision: CNNs & Vision Transformers
  11. 129Contrastive learning & CLIP
  12. 130Diffusion models
MLOps11
  1. 131The ML lifecycle
  2. 132LLMOps vs MLOps
  3. 133Feature stores
  4. 134Training–serving skew
  5. 135Data drift & concept drift
  6. 136Model registry & versioning
  7. 137Experiment tracking & reproducibility
  8. 138Monitoring models in production
  9. 139Batch vs real-time inference
  10. 140Recommendation systems
  11. 141Data platform for AI
Distributed data10
  1. 142CAP & PACELC
  2. 143Consistency models
  3. 144Replication
  4. 145Partitioning & sharding
  5. 146Consistent hashing
  6. 147Consensus (Raft)
  7. 148SQL vs NoSQL
  8. 149Database indexes: B-tree vs LSM
  9. 150Event sourcing & CQRS
  10. 151Sagas & the outbox pattern
Reliable services13
  1. 152Caching strategies
  2. 153Queues vs streams (Kafka)
  3. 154Idempotency
  4. 155Retries, backoff & circuit breakers
  5. 156Rate limiting
  6. 157Backpressure & load shedding
  7. 158Load balancing
  8. 159SLIs, SLOs & error budgets
  9. 160Disaster recovery (RPO & RTO)
  10. 161Monolith vs microservices
  11. 162Observability: logs, metrics, traces
  12. 163Multi-tenancy patterns
  13. 164API design: REST, gRPC, async
System building blocks13
  1. 165CDNs and edge caching
  2. 166Object storage (S3-style)
  3. 167Storage engines: LSM-tree vs B-tree
  4. 168Probabilistic data structures
  5. 169Clocks and event ordering
  6. 170Gossip protocols & failure detection
  7. 171Distributed locks and fencing tokens
  8. 172Stream processing: windows, watermarks, state
  9. 173Real-time delivery: polling, SSE, WebSockets
  10. 174Geospatial indexing (geohash, S2, H3)
  11. 175AuthN vs AuthZ: sessions, JWT, OAuth
  12. 176Encryption & secrets management
  13. 177Deployment strategies (canary, blue-green, flags)
Coding patterns: graphs and DP9
  1. 178Graph traversal: BFS and DFS
  2. 179Topological sort
  3. 180Union-Find (Disjoint Set Union)
  4. 181Shortest Paths (BFS, Dijkstra, Bellman-Ford)
  5. 182Dynamic Programming
  6. 183Greedy algorithms
  7. 184Backtracking
  8. 185Tries (Prefix Trees)
  9. 186Design a data structure (LRU cache)
Phase projectAn agent you'd trust in production0/6 milestones

3Staff level

Lead the design, own the risk, move the org: what the title is decided on.

Advanced AI architecture7
  1. 187Resilience: multi-provider failover & degradation
  2. 188Identity & authorization for agents
  3. 189Caching layers in an AI system
  4. 190Model upgrades & deprecations
  5. 191The data flywheel
  6. 192Vector search at billion scale
  7. 193On-device & edge inference
Security and governance7
  1. 194Multi-tenant isolation in AI apps
  2. 195Red teaming AI systems
  3. 196Model & data supply chain
  4. 197Alignment & Constitutional AI
  5. 198Responsible AI: bias, fairness, transparency
  6. 199EU AI Act
  7. 200NIST AI RMF & ISO/IEC 42001
Training in depth10
  1. 201Scaling laws & Chinchilla
  2. 202Mixture of Experts (MoE)
  3. 203RLHF: reinforcement learning from human feedback
  4. 204DPO & preference optimization
  5. 205RL with verifiable rewards (GRPO)
  6. 206Training data quality & curation
  7. 207Catastrophic forgetting
  8. 208Continued pretraining
  9. 209Fine-tuning embeddings & rerankers
  10. 210Distributed training: DP, TP, PP, FSDP
Classic design cases: products9
  1. 211Design: URL shortener
  2. 212Design: news feed
  3. 213Design: chat system
  4. 214Design: notification system
  5. 215Design: search autocomplete (typeahead)
  6. 216Design: video streaming platform
  7. 217Design: ride hailing (Uber, Lyft)
  8. 218Design: proximity service (Yelp)
  9. 219Design: collaborative editor
Classic design cases: infrastructure9
  1. 220Design: distributed rate limiter
  2. 221Design: web crawler
  3. 222Design: distributed key-value store
  4. 223Design: distributed cache
  5. 224Design: payment system
  6. 225Design: digital wallet
  7. 226Design: ticket booking
  8. 227Design: distributed job scheduler
  9. 228Design: file sync (Dropbox)
Classic design cases: data and streaming5
  1. 229Design: distributed message queue
  2. 230Design: metrics and monitoring system
  3. 231Design: ad click aggregator
  4. 232Design: top-K and heavy hitters
  5. 233Design: real-time leaderboard
Design cases: LLM products10
  1. 234Design: enterprise knowledge assistant
  2. 235Design: customer support agent
  3. 236Design: ChatGPT-style assistant at scale
  4. 237Design: AI coding assistant
  5. 238Design: text-to-SQL analytics assistant
  6. 239Design: document extraction pipeline
  7. 240Design: review summarization with injection & PII defenses
  8. 241Design: deep research agent
  9. 242Design: AI answer engine (search + LLM)
  10. 243Design: real-time voice agent
Design cases: platforms and ML10
  1. 244Design: internal AI platform
  2. 245Design: evaluation platform for agents
  3. 246Design: LLM inference platform
  4. 247Design: semantic product search
  5. 248Design: LLM-powered recommendations
  6. 249Design: news feed ranking
  7. 250Design: ads click-through prediction
  8. 251Design: real-time fraud detection
  9. 252Design: content moderation system
  10. 253Design: data engine for autonomous driving
Staff leadership15
  1. 254What Staff/Principal actually means
  2. 255Writing a technical strategy
  3. 256Design docs & RFCs
  4. 257Architecture Decision Records (ADRs)
  5. 258One-way vs two-way doors
  6. 259Build vs buy (and AI vendor selection)
  7. 260Influence without authority
  8. 261Communicating trade-offs to executives
  9. 262Managing technical debt
  10. 263AI adoption strategy & roadmap
  11. 264Rolling out AI coding agents in an org
  12. 265AI cost governance (FinOps for AI)
  13. 266Incidents & blameless postmortems
  14. 267Mentoring, coaching & sponsorship
  15. 268Behavioral interviews: STAR stories
Staff execution6
  1. 269Leading cross-team projects
  2. 270Planning & estimation
  3. 271Prioritization and saying no
  4. 272Engineering metrics (DORA)
  5. 273Code review
  6. 274Hiring and structured interviews
Phase projectA Staff-level design, reviewed by real engineers0/6 milestones