practice a little every day, paws crossed ♡
Machine Learning Interview Questions
Practice 9403 coding, system design and machine learning questions from 546 companies, sorted by role, topic and interview round. Every question has step-by-step hints, a code runner that supports 8 languages and an AI mentor; members also get the full solution walkthrough.
- 9403
- Questions
- 546
- Companies
- 11
- Topics
- 8
- Languages
Showing 451–480 of 572 results
- SnapchatMediumMachine Learning EngineerExplain Core ML Concepts
This question tests the ability to explain foundational machine learning trade-offs and architectural nuances in deep neural networks.
Machine LearningOnsiteDeep LearningOptimizationStatistics - SnapchatHardMachine Learning EngineerExplain Core ML Training, Evaluation, and Transformer Concepts
Tests end-to-end understanding of machine learning fundamentals, covering regularization against overfitting, handling severe class imbalance, optimizer mechanics, threshold calibration, and Transformer self-attention dynamics.
Machine LearningTechnical Screenmachine-learningdeep-learningtransformers - SnapchatHardMachine Learning EngineerExplain Embeddings, Positive Labels, and Retraining in a Recommendation Project
Discuss recommendation-project ownership, embeddings, positive labels and retraining with attention to exposure bias and data leakage.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerExplain LLM tuning and transformer basics
This question evaluates competencies in large language model tuning and Transformer fundamentals, covering fine-tuning strategies, dataset construction and labeling, model adaptation choices, loss functions and evaluation metrics, regularization techniques, optimizer selection, self-attention and multi-head attention, and the end-to-end Transformer decoder mathematical steps. It is commonly asked in Machine Learning interviews because it probes both conceptual understanding and practical application—examining architectural trade-offs, optimization and regularization decisions, deployment constraints, and reasoning about failure modes such as overfitting and hallucination within the Machine Learning domain.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerExplain Neural-Network Regularization and Dropout
Explain L1, L2, dropout scaling, train/inference behavior, early stopping, and the difference between gradient penalties and decoupled weight decay.
Machine LearningOnsite - SnapchatMediumMachine Learning EngineerExplain Overfitting and Transformer Attention
This question evaluates understanding of model generalization and regularization techniques alongside Transformer self-attention and positional encoding, assessing competencies in diagnosing overfitting, applying appropriate mitigation strategies, and interpreting attention mechanisms.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerExplain Vanishing Gradients in Neural-Network Training
Diagnose vanishing gradients through the chain rule, activation and gradient checks, and architecture-appropriate training remedies.
Machine LearningTechnical Screen - SnapchatHardMachine Learning EngineerWhat Happens When All Neural-Network Weights Start at Zero?
Explain zero-weight initialization through hidden-unit symmetry and gradient flow, and contrast it with linear and logistic models.
Machine LearningTechnical Screen - SnowflakeMediumMachine Learning EngineerCore Components of LLM Agent Memory: What Each Stores and How It Is Written and Read
Explain the common components of an LLM agent's memory, from the context window to session, episodic, semantic and procedural memory, and how each is written, retrieved and maintained. It tests agent architecture knowledge, context budgeting, conflict handling, forgetting and memory security.
Machine LearningOnsite - SnowflakeHardData ScientistDesign and validate a cost-sensitive classifier
This question evaluates competence in cost-sensitive binary classification, handling delayed and imbalanced labels, calibration and decision-threshold selection, distributional-drift detection, monitoring, and low-latency deployment within the Machine Learning / Data Science domain.
Machine LearningTechnical Screen - SpacexMediumMachine Learning EngineerDiagnose a Production Classifier and Defend Its Systems Design
This problem tests the ability to diagnose training-serving skew in machine learning models and the architectural considerations required to maintain consistency between offline evaluation and online production environments.
Machine LearningTechnical ScreenMLOpsSystem DesignTraining-Serving Skew - SpacexMediumResearch ScientistImplement and Benchmark Speculative Decoding
Implement autoregressive and speculative decoding algorithms with key-value cache management, along with a benchmarking harness to measure acceptance rates, latency, and throughput.
Machine LearningTechnical ScreenSpeculative DecodingLLM InferenceBenchmarking - SquarepointHardData ScientistAnalyze expectations, correlations, and investment strategies
This problem tests your understanding of stochastic processes in finance, the linear algebraic requirements for covariance matrices, and optimal decision-making under uncertainty.
Machine LearningTechnical ScreenProbabilityLinear AlgebraStochastic Calculus - SquarepointMediumSoftware EngineerEvaluate Linear Regression Assumptions and Fit Three Points
Discuss the assumptions behind ordinary least squares, how multicollinearity affects a fitted model, and practical ways to address multicollinearity and overfitting. Cover data and labels, leakage-safe features, baselines and model choice, offline evaluation, deployment constraints, monitoring, and drift.
Machine LearningTechnical Screen - SquarepointMediumData ScientistExplain Linear Regression Assumptions, Evaluation, and Feature Addition
Explain least-squares regression, inference assumptions, evaluation metrics, and why added features affect training and test R-squared differently.
Machine LearningTechnical Screen - SquarepointMediumQuantitative TraderSolve Probability and Statistics Questions
This problem tests your understanding of OLS regression assumptions, the asymptotic behavior of sample estimators, and expected value optimization under probabilistic constraints.
Machine LearningTechnical ScreenRegressionProbabilityStatistics - StackAdaptMediumMachine Learning EngineerFind the Flaws in an End-to-End ML Pipeline Case Study Report
Review a condensed end-to-end machine learning case study, from its goal and labels through normalization, evaluation, and deployment, and point out what is wrong with it. Tests systematic pipeline review, reasoning about what data each step uses, and ranking problems by how much they undermine the conclusions.
Machine LearningOnsite - StripeHardData ScientistDesign a leak-free time-split model
This question evaluates a Data Scientist's competency in time-aware predictive modeling, including label leakage prevention for late-arriving events, temporal cross-validation, feature engineering, model selection (logistic regression vs gradient-boosted trees), calibration and thresholding for costed actions.
Machine LearningTechnical Screen - StripeHardData ScientistDesign a model for subscription adoption prediction
This question evaluates a candidate's ability to design and productionize a supervised machine-learning pipeline for predicting subscription adoption, testing competencies in labeling strategy, leakage identification and prevention, feature engineering from transactional and merchant metadata, model selection and calibration, evaluation with time-based validation, and post-deployment monitoring. It is commonly asked in the Machine Learning domain for Data Scientist roles because it assesses practical application and production-ready design along with conceptual understanding of time-based splits, class imbalance, performance metrics, and drift detection.
Machine LearningOnline Assessment - StripeHardData ScientistDesign a target‑user prediction system
This question evaluates skills in temporal label definition and leakage prevention, time‑bounded feature engineering (recency/frequency and content affinity), uplift and incremental effect estimation, model selection under class imbalance and budgeted outreach, offline metric design, calibration, fairness constraints, and production validation and monitoring. Common in Machine Learning/Data Science interviews, it is asked to gauge both conceptual understanding of causal and validation issues and practical application skills for deploying a ranked outreach model under capacity constraints, including appropriate cross‑validation and thresholding to map predictive scores to business outcomes.
Machine LearningTechnical Screen - StripeMediumMachine Learning EngineerNormalize targets for multitask regression
This question evaluates proficiency in multitask regression, preprocessing, and loss engineering within the Machine Learning domain, focusing on handling heterogeneous target distributions, sign-constrained labels, normalization, balanced loss combination, and mapping predictions back to original units at inference.
Machine LearningTechnical Screen - SunriseEasySoftware EngineerExplain the least squares method
Explain the least squares method evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Machine LearningOnsite - TeslaHardMachine Learning EngineerCompare RNNs, LSTMs, Transformers, and MPC
This question evaluates understanding of sequence-modeling architectures (RNNs, LSTMs, Transformers) and Model Predictive Control, assessing architectural choice, training and optimization trade-offs, handling of long-range dependencies, and methods for integrating learned dynamics with control.
Machine LearningTechnical Screen - TeslaEasyMachine Learning EngineerCompute Conv2D parameter counts
This question evaluates understanding of convolutional neural network parameterization, specifically how kernel dimensions, input/output channels and an optional bias term determine the number of learnable parameters.
Machine LearningTechnical Screen - TeslaHardMachine Learning EngineerDesign RL reward for speed limits
This question evaluates reinforcement learning competencies—reward engineering for speed-constrained control, distinctions in policy optimization methods (PPO versus GRPO), and reasoning about time-varying constraints and partial observability using trajectory data.
Machine LearningTechnical Screen - TeslaMediumSoftware EngineerHow to Identify Best Battery Group
This question evaluates understanding of statistical inference, experimental design, and metric construction for binary test outcomes, including defining composite quality measures, handling unequal sample sizes, quantifying uncertainty, and addressing multiple-comparison issues.
Machine LearningOnsite - TeslaHardMachine Learning EngineerImplement attention and Transformer with backward pass
This question evaluates implementation and analytical skills for scaled dot-product multi-head self-attention and an encoder-style Transformer block, including manual forward and backward-pass computations, gradient derivation for projection matrices, causal masking for autoregressive next-token prediction, numerical stability of softmax, and time/memory complexity analysis within the Machine Learning domain, emphasizing practical implementation with underlying conceptual understanding of linear algebra and backpropagation mechanics. It is commonly asked to verify mastery of attention mechanisms and autodiff-free gradient reasoning, plus the ability to compute cross-entropy/perplexity, perform finite-difference gradient checks, and reason about algorithmic trade-offs.
Machine LearningTechnical Screen - The Trade DeskEasyData ScientistDesign a CVR model for RTB bidding
This Trade Desk data-science screen asks you to design an end-to-end conversion-rate (CVR) model for real-time bidding (RTB) at a DSP. It covers RTB system roles, label/attribution-window definition, bid-time feature engineering and leakage, logistic-regression vs LightGBM tradeoffs, log-loss training, class-imbalance handling with calibration, PR-AUC vs ROC-AUC evaluation, and latency-aware, safely-deployed production.
Machine LearningTechnical Screen - Thomson ReutersEasyMachine Learning EngineerApplied Machine Learning Assessment: Metrics, Evaluation, and NLP Fundamentals
Practice a Thomson Reuters machine learning interview question about applied machine learning assessment: metrics, evaluation, and nlp fundamentals. The prompt covers objective framing, data assumptions, evaluation, trade-offs, and production risks without giving away the answer.
Machine LearningOnline Assessment - TikTokHardMachine Learning EngineerAnswer ML fundamentals and diagnostics questions
This problem tests your theoretical understanding of model diagnostics, ensemble learning mechanics, and the trade-offs between optimization strategies in machine learning.
Machine LearningOnline AssessmentEnsemble MethodsRegularizationMetrics