ML Breadth
Core ML concepts every engineer should be able to discuss fluently — from transformers to gradient descent.
Topic mastery0 / 76 completed (0%)
76 questions1 Easy33 Medium42 Hard
Deep Learning Fundamentals
- Walk me through backpropagation12 min · 2 roundsMedium
- Walk me through how CNNs work12 min · 2 roundsMedium
- What are embeddings and how are they learned?18 min · 3 roundsMedium
- Why do residual connections make deep networks trainable?12 minHard
- How do you initialize deep networks, and why does it matter?12 minMedium
Sequence Modeling
- Walk me through how transformers work15 min · 3 roundsMedium
- Explain how RNNs work and where they fit today12 min · 2 roundsMedium
- Explain attention mechanisms beyond transformers — types and trade-offs12 minHard
- How does KV caching work and why does it make LLM inference fast?12 minHard
- How do long-context transformers work, and where do they fail?14 minHard
- What happens step-by-step inside an LLM during token generation?10 minMedium
- Flash Attention and the engineering of long-context transformers12 minHard
- What is speculative decoding and how does it speed up LLM inference?10 minHard
- How do embedding models differ from generative models architecturally and in use?10 minMedium
Advanced Architectures
- Walk me through how modern object detection works12 min · 2 roundsMedium
- Explain transfer learning — when to freeze vs fine-tune, and common failure modes10 minMedium
- Walk me through two-tower models for retrieval — architecture, tradeoffs, and limits12 minHard
- How does multi-task learning work for ranking — and what are the failure modes?12 minHard
- Mixture of Experts (MoE): architecture, routing, and serving tradeoffs14 minHard
- When do you use a cross-encoder reranker instead of a bi-encoder?12 minHard
- What is DSPy and when should you use it over manual prompting?12 minHard
- What is model quantization and why does it matter for deployment?12 minHard
- Wide & Deep and DCN: how do they handle feature interactions in ranking?14 minHard
- Design a multi-stage ranking funnel — retrieval, pre-rank, rank, re-rank14 minHard
Classical ML
- Explain logistic regression and why it's still used in industry10 min · 2 roundsEasy
- Explain ensemble methods — random forests and gradient boosting12 min · 2 roundsMedium
- How do decision trees split? Walk me through Gini impurity vs information gain.10 minMedium
- GBDT vs neural networks for ranking — when do you pick each?10 minMedium
- Explain SVMs and kernels from an interviewer's point of view12 minMedium
- When would you use monotonic constraints in gradient boosted trees?12 minHard
Optimization
- Walk me through gradient descent variants12 min · 2 roundsMedium
- Compare SGD, Adam, and AdamW — when would you use each?12 minMedium
- Explain learning rate scheduling strategies and how to pick one10 minMedium
- What is gradient clipping, and when should you use it?10 minMedium
- How does mixed precision training work, and why can it be unstable?12 minHard
Loss Functions
- Explain cross-entropy loss — binary vs categorical, and why it works for classification12 minMedium
- Compare MSE, MAE, and Huber loss — when would you use each?10 minMedium
- What is focal loss and when would you use it over cross-entropy?10 minHard
- What is KL divergence and how does it relate to cross-entropy?10 minMedium
- Explain contrastive and triplet loss — how do they train embedding spaces?12 minHard
- Compare pointwise, pairwise, and listwise ranking losses14 minHard
- How do label smoothing and knowledge distillation change cross-entropy training?12 minHard
- When do you use Huber loss instead of MSE or MAE?10 minMedium
Feature Engineering
- Walk me through feature engineering for tabular data15 minMedium
- How do you encode categorical features? Compare one-hot, target encoding, and embeddings.12 minMedium
- How do you handle class imbalance in ML?12 minMedium
- How do you approach feature selection?10 minMedium
- How do you handle missing data without introducing bias?12 minHard
- When do feature crosses matter, and how do you control their complexity?12 minMedium
Data Integrity
- What is data leakage and how do you prevent it?10 minMedium
- What is train-serve skew and how do you prevent it?12 minHard
- How do you handle the cold start problem in recommendation systems?12 minHard
- Which features are safe to use when predicting future events — temporal leakage in practice10 minHard
- How do delayed labels and censoring affect model training?12 minHard
- What are point-in-time joins, and why do they prevent leakage?12 minHard
Generalization & Regularization
- What is regularization and how do the different techniques compare?10 min · 2 roundsMedium
- Explain the bias-variance tradeoff14 minMedium
- Compare batch norm, layer norm, and group norm — when do you use each?12 minHard
- Why don't huge overparameterized models always overfit?12 minHard
- How do you handle domain shift and out-of-distribution inputs?12 minHard
- How does data augmentation improve generalization, and when can it hurt?12 minMedium
Evaluation & Calibration
- Walk me through classification evaluation metrics — precision, recall, F1, AUC16 minMedium
- What is model calibration and how do you fix a miscalibrated model?12 minHard
- Explain NDCG — why use it over AUC for ranking?10 minMedium
- Your CTR model's calibration degrades months after launch — what causes it and how do you fix it?10 minHard
- How do you evaluate a new ranker using logs from an old policy?14 minHard
- How do you put confidence intervals on ML metrics?12 minHard
- How do you run A/B tests for ML models in production?14 minHard
- How would you automatically detect and reduce LLM hallucinations?14 minHard
Production ML
- What is position bias in ranking and how do you correct for it?12 minHard
- Your offline metrics improved but A/B test shows nothing — how do you debug?12 minHard
- Your model accuracy dropped 8% over 2 weeks — walk through your debugging process15 minHard
- When is a large foundation model unjustified? Simple models vs LLMs.12 minHard
- How do canary and shadow deployments reduce ML launch risk?12 minHard
- When should an ML system use human review instead of full automation?12 minHard
- Fine-tuning vs RAG: tradeoffs and when to use each12 minHard