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 211–240 of 572 results
- GoogleMediumMachine Learning EngineerExplain modeling challenges and fixes
This question evaluates end-to-end ML ownership and operational troubleshooting skills, including detection of data and modeling issues, trade-off analysis, and evidence-based impact measurement within the Machine Learning/MLOps domain.
Machine LearningTechnical Screen - GoogleMediumMachine Learning EngineerExplain ranking cold-start strategies
This question tests your ability to design strategies for surfacing new items and serving new users in a large-scale recommendation system while maintaining relevance and diversity.
Machine LearningTechnical ScreenRecommender SystemsCold StartEmbeddings - GoogleHardMachine Learning EngineerExplain transformer architecture and variants
This question evaluates a candidate's mastery of transformer architecture and related competencies such as attention mechanisms, positional encodings, encoder/decoder variants, computational complexity and scaling, stability and initialization practices, and adaptation of sequence models to molecular representations.
Machine LearningTechnical Screen - GoogleMediumSoftware EngineerHow Would You Verify a Smiling-Face Detection Feature in Google Photos?
A role-related question for software engineers: if your feature detects smiling faces in Google Photos, how would you verify that the detection is correct? It tests defining ground truth, choosing evaluation metrics and thresholds, covering hard cases and demographic slices, and validating the feature before and after launch.
Machine LearningTechnical Screen - GoogleMediumData ScientistIdentify and Fix Predictive Model Performance Gaps
Evaluates predictive-model audit skills across month encoding, feature scaling, and imbalanced classification. Strong answers fix cyclical seasonality, standardize where needed, and adjust losses or thresholds for recall.
Machine LearningTechnical Screen - GoogleHardMachine Learning EngineerInterpret Language-Model Perplexity
Learn the exact likelihood basis of perplexity, correct evaluation details, tokenizer caveats, and limits as an LLM quality metric.
Machine LearningTechnical Screen - GoogleHardMachine Learning EngineerList regularization methods and trade-offs
This question evaluates competency in machine learning regularization and model generalization, covering familiarity with methods such as L1/L2, dropout, early stopping, data augmentation, label smoothing, mixup, normalization, Bayesian priors, and ensembling.
Machine LearningTechnical Screen - GoogleHardData ScientistModel Soccer Shot Conversion
This problem tests the ability to design an end-to-end predictive model for sports events, focusing on feature engineering, handling spatial data sparsity, and evaluating probabilistic outputs.
Machine LearningTechnical ScreenLogistic RegressionModel CalibrationFeature Engineering - GoogleHardData ScientistPredict and act on contract renewal risk
This question evaluates competency in applied machine learning for enterprise churn prediction, testing skills in problem framing, feature engineering, model selection, data hygiene, evaluation metrics, and decisioning within the Machine Learning domain.
Machine LearningTechnical Screen - GsaMediumData ScientistCritique a CNN-Based Bridge Safety Proposal
This question tests the ability to identify flaws in a computer vision project, focusing on data validity, label sparsity, adversarial robustness, and the practical limitations of predictive modeling in structural engineering.
Machine LearningTechnical ScreenComputer VisionAdversarial MLData Ethics - GsaHardData ScientistPredict Stock Returns from Sentiment and Market Data
This problem tests the ability to design an end-to-end predictive pipeline for stock returns, focusing on time-series integrity, feature engineering, and robust evaluation metrics.
Machine LearningTechnical ScreenFinancial ModelingTime SeriesData Leakage - GustoMediumData ScientistBuild Churn Prediction and Survival Models
This problem tests the ability to design an end-to-end churn prediction pipeline, specifically focusing on the distinction between binary classification and survival analysis in the context of customer retention.
Machine LearningTechnical ScreenChurn PredictionSurvival AnalysisFeature Engineering - GustoMediumData ScientistBuild a Churn Prediction Model
This question tests the ability to design an end-to-end churn prediction pipeline, focusing on temporal data integrity, class imbalance, and actionable evaluation metrics for business stakeholders.
Machine LearningOnsiteChurnFeature EngineeringImbalanced Data - HBOHardData ScientistDefine scalable train/validation for churn
This question assesses the ability to design an end-to-end churn prediction pipeline, focusing on temporal integrity, handling class imbalance, and ensuring robust production deployment.
Machine LearningOnline AssessmentChurnSystem DesignData Leakage - HackerRankMediumMachine Learning EngineerBuild A Purchase-Intent Prediction Notebook
Prepare for a machine learning take-home notebook that predicts purchase intent from session features and submits binary outcomes. The prompt focuses on data cleaning, missing values, categorical encoding, model pipelines, weighted F1, threshold tuning, and robust submissions.
Machine LearningOnline Assessment - HarveyMediumSoftware EngineerEmbedding Retrieval with Cosine Similarity in a Notebook, and Choosing the Metric
Implement embedding-based document retrieval with cosine similarity in a Python notebook, then explain how cosine similarity relates to dot product and Euclidean distance and how to measure retrieval quality. It tests vectorized top-k search, deterministic ties, index metric choice and evaluation metrics.
Machine LearningOnsite - HarveyMediumMachine Learning EngineerTraining LLM Agents for Long-Context, Long-Horizon Tasks: Environments and Rewards
An ML research discussion on training language-model agents for long-context, long-horizon tasks. It tests the training recipe from context extension through supervised trajectories to RL, the design of reproducible training environments, and reward design that resists reward hacking over long trajectories.
Machine LearningOnsite - HeadlandsMediumData ScientistWhat Cross-Validation Reduces: Bias, Variance, Type I or Type II Error
This question tests your conceptual understanding of how k-fold cross-validation affects the generalization error and how the choice of 'k' influences the trade-off between bias and variance in model performance estimation.
Machine LearningOnline AssessmentModel EvaluationCross-ValidationStatistics - Hudson River TradingHardSoftware EngineerBuild a Heart Disease Baseline
This question evaluates proficiency in applied machine learning workflows, including data inspection and cleaning, exploratory data analysis, feature engineering, baseline binary classification modeling, and evaluation using Python libraries like pandas and seaborn.
Machine LearningOnsite - Hudson River TradingMediumData ScientistDerive expected inversions and mean distribution
This problem tests your understanding of linearity of expectation and variance properties applied to permutation statistics, as well as the ability to design a simulation to verify analytical derivations.
Machine LearningTechnical ScreenProbabilityStatisticsExpectation - Hudson River TradingMediumData ScientistSolve Dice Probability and Matrix Questions
This problem tests probability distributions over modular arithmetic and the identification of properties of doubly stochastic matrices.
Machine LearningTechnical ScreenProbabilityLinear AlgebraMatrices - IBMEasyData ScientistDesign a lead-scoring model
Design an end-to-end lead-scoring model for a marketing/growth data science team: define the label and scoring time, engineer leakage-safe features, compare a logistic-regression baseline with gradient-boosted trees, and evaluate with capacity-aware ranking metrics. The question also probes multicollinearity, model interpretability (SHAP/reason codes), routing-threshold design, and operational risks like selection bias, class imbalance, fairness, and drift.
Machine LearningTechnical Screen - ImcMediumData ScientistCompute gambler’s ruin probabilities and hitting times
This question tests your ability to model a discrete random walk as a Markov chain, derive the probability of reaching an absorption state, and calculate the expected time to reach that state.
Machine LearningOnsiteProbabilityMarkov ChainsStochastic Processes - ImcMediumData ScientistExplain linear regression and Transformer fundamentals
This question tests your ability to explain the theoretical foundations of linear regression, including its probabilistic interpretation, and your technical depth regarding the mechanics of the Transformer architecture.
Machine LearningOnsiteLinear RegressionTransformersSelf-Attention - ImcMediumData ScientistRun EDA and train models while preventing overfitting
This problem tests your end-to-end machine learning pipeline skills, focusing on tabular regression, feature engineering, validation strategies, and regularization techniques.
Machine LearningOnsiteRegressionOverfittingEDA - ImcMediumData ScientistSolve a constrained problem using KKT conditions
This question tests the ability to solve a convex optimization problem under inequality constraints using KKT conditions and the identification of active versus inactive constraints.
Machine LearningOnsiteOptimizationKKTCalculus - InceptionMediumMachine Learning EngineerImplement Autoregressive Decoding in PyTorch
This question evaluates a candidate's ability to implement autoregressive decoding and sampling strategies in PyTorch, testing competencies in sequence generation, probabilistic sampling methods (greedy, temperature, top-k, top-p), batching, and end-of-sequence handling.
Machine LearningTechnical Screen - IndeedMediumMachine Learning EngineerImplement MSE Loss and Linear Regression from Scratch
Implement the mean squared error loss and a linear regression model with fit and predict methods, written from scratch rather than with a library model. It tests deriving and coding the gradients, choosing a training method, feature scaling, input validation, and verifying the implementation.
Machine LearningTechnical Screen - InstacartHardMachine Learning EngineerExplain Core ML Concepts
This question tests the conceptual understanding of supervised learning foundations, the mathematical relationship between regression techniques, and the convergence behavior of optimization algorithms.
Machine LearningTechnical ScreenLinear RegressionLogistic RegressionOptimization - InstacartHardData ScientistImprove low R² without p‑hacking
This question evaluates competence in statistical modeling and causal inference, covering regression diagnostics, feature engineering and interactions, appropriate error distributions and link functions, leakage detection, model selection and validation, and the trade-off between predictive accuracy and valid effect estimation.
Machine LearningOnsite