Katkat

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 181–210 of 572 results

  • DoorDashHardData Scientist
    Design a Low-Latency Store Recommender

    This question assesses the ability to architect a multi-stage recommendation pipeline that balances low-latency retrieval with high-accuracy ranking in a geo-aware, high-concurrency food delivery context.

    Machine LearningOnsiteSystem DesignRecommendation SystemsLatency
  • DoorDashHardData Scientist
    Design and evaluate an uplift model

    This question evaluates competency in causal inference and uplift modeling, experimental design for randomized treatment allocation, offline evaluation of uplift models, operational decision rules under budget constraints, fairness guardrails, and handling interference and deployment of sequential tests in a data-science context.

    Machine LearningOnsite
  • DropboxMediumData Scientist
    Design enterprise file recommendations under ACLs

    This problem tests the ability to design a multi-tenant recommendation system that enforces complex security constraints while maintaining low latency.

    Machine LearningTechnical ScreenRecommendation SystemsMulti-tenancySecurity
  • EliseAIMediumData Scientist
    Lease Renewal Prediction and Non-Renewal Reason Categorization Take-Home

    A machine learning take-home on predicting lease renewals from tenant conversations and SQLite tables of residents, maintenance work orders and renewal offers. It covers preprocessing, a metric compared with a random baseline, a test-set prediction file, categorizing non-renewal reasons with gte-base embeddings, and presenting the results.

    Machine LearningTechnical Screen
  • EvenUpMediumData Scientist
    Build a model to predict wine quality

    This question evaluates predictive modeling and data-science competencies—exploratory data analysis, feature assessment, problem framing (regression vs classification vs ordinal), model selection and validation, evaluation metric choice, and post-model feature-importance interpretation—in the Machine Learning domain, combining conceptual understanding with practical application. It is commonly asked in technical interviews for Data Scientist roles because it tests end-to-end modeling judgment, reasoning about data distributions and variable usefulness, selection of validation and evaluation strategies, and awareness of pitfalls such as collinearity and data leakage.

    Machine LearningTechnical Screen
  • ExaHardMachine Learning Engineer
    Debug a PyTorch Contrastive Loss

    Repair a PyTorch contrastive loss whose matrix multiplication contracts incompatible dimensions instead of producing pairwise scores. Validate aligned rank-two tensors and temperature, create the correct batch-by-batch logits, preserve gradients, and handle low-precision numerical stability.

    Machine LearningTechnical Screen
  • ExpediaHardData Scientist
    Validate and monitor ranking model end-to-end

    This question evaluates a data scientist's mastery of learning-to-rank concepts, offline evaluation and metric design, position-bias correction, diagnostic analysis, deployment safeguards, and alignment of surrogate objectives with business KPIs for hotel search ranking.

    Machine LearningOnsite
  • ExperianMediumData Scientist
    Explain PCA and L2 Normalization in Machine Learning

    This interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Explain PCA and L2 Normalization in Machine Learning states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningTechnical Screen
  • FigmaMediumMachine Learning Engineer
    Clarify a BERT Keyphrase Span-Extraction Task

    Implement and clarify the post-processing decoder for a BERT-based span-extraction model that maps token-level start and end logits back to non-overlapping character-level keyphrases.

    Machine LearningTechnical Screennlpbertspan-extraction
  • Flatiron HealthMediumData Scientist
    Build a robust ML pipeline

    This question evaluates a candidate's competency in designing robust end-to-end ML pipelines, covering temporal data slicing, leakage controls, time-series cross-validation, feature store consistency, offline and business metrics, drift detection and monitoring, online rollout strategies, retraining triggers, and fairness assessment.

    Machine LearningTechnical Screen
  • Goldman SachsHardMachine Learning Engineer
    Evaluate TPR/FPR, sigmoid, and activations

    This question evaluates competency in binary classification metrics (confusion matrices, TPR/FPR), basic neural network forward computation (sigmoid neuron z and output), and knowledge of activation function selection and pitfalls.

    Machine LearningOnline Assessment
  • GoogleMediumData Scientist
    Address Overfitting in Supervised Learning Models

    Evaluates supervised learning judgment around bias, variance, overfitting, and train-test performance gaps. Strong answers diagnose leakage, split errors, distribution shift, and high variance, then propose regularization, simpler models, validation, more data, and monitoring.

    Machine LearningOnsite
  • GoogleMediumData Scientist
    Build Classifier: Evaluate with AUROC for Imbalanced Data

    Evaluates classifier design for detecting dead links in imbalanced URL data with leakage-safe validation. Strong answers cover leakage-safe features, grouped validation, AUROC versus accuracy, PR metrics, thresholding, deployment, and monitoring.

    Machine LearningTechnical Screen
  • GoogleMediumData Scientist
    Build Model to Predict Customer Contract Renewal

    Evaluates renewal prediction modeling for enterprise Google Meet contracts. Strong answers define leakage-safe timelines, engineer usage, reliability, support, contract, and customer-health features, compare logistic regression with complex models, and evaluate calibration, lift, and business intervention value.

    Machine LearningTechnical Screen
  • GoogleMediumData Scientist
    Build and evaluate bad-link classifier

    This question evaluates proficiency in applied machine learning classification, including feature design, training a logistic regression, handling severe class imbalance, selecting evaluation metrics and calibration, choosing thresholds under asymmetric costs, and planning offline-to-online validation and monitoring.

    Machine LearningTechnical Screen
  • GoogleHardData Scientist
    Build and evaluate illegal-video classifier

    This question tests the ability to architect an end-to-end classification pipeline for high-stakes, multimodal content moderation while accounting for class imbalance, adversarial evasion, and operational safety.

    Machine LearningTechnical ScreenMultimodal MLAdversarial MLSystem Design
  • GoogleHardMachine Learning Engineer
    Compare Language-Model Post-Training Methods

    This question tests your conceptual depth in LLM alignment by asking you to differentiate between supervised fine-tuning (SFT), reinforcement learning from human feedback (RLHF), direct preference optimization (DPO), and group-relative optimization (e.g., GRPO) based on their mathematical objectives and operational characteristics.

    Machine LearningTechnical ScreenLLMAlignmentRLHF
  • GoogleMediumData Scientist
    Compare Logistic Regression and Random Forest in Limited Data Scenarios

    Evaluates binary classification model selection with limited labeled data. Strong answers explain logistic regression and cross-entropy loss, compare it with Random Forests, cover L1 and L2 regularization, diagnose overfitting, and contrast Random Forests with boosting.

    Machine LearningOnsite
  • GoogleMediumMachine Learning Engineer
    Compare NLP tokenization and LLM recommendations

    This question tests the conceptual understanding of tokenization strategies in NLP and the architectural trade-offs when integrating LLMs into recommendation systems.

    Machine LearningOnsiteNLPLLMRecommendation-Systems
  • GoogleMediumData Scientist
    Decide between two vendors under constraints

    This question evaluates a candidate's competency in decision modeling and cost‑sensitive machine learning, including causal inference for selection bias, propensity estimation, constrained optimization for capacity and SLA trade‑offs, and offline/online evaluation in the Machine Learning domain for a Data Scientist role.

    Machine LearningOnsite
  • GoogleHardMachine Learning Engineer
    Detect and Prevent Reward Hacking

    Assess the candidate's understanding of reward hacking (specification gaming) in reinforcement learning from human feedback (RLHF), focusing on diagnosing exploitation patterns, designing detection metrics, applying conservative policy updates, and implementing recovery safeguards.

    Machine LearningTechnical ScreenRLHFReward ModelingLLM Alignment
  • GoogleHardData Scientist
    Diagnose and fix flawed model fit

    This question tests your ability to diagnose poor model performance in a binary classification task involving imbalanced data, high-cardinality categorical features, and potential bias.

    Machine LearningTechnical ScreenClassificationImbalanced DataFeature Engineering
  • GoogleMediumMachine Learning Engineer
    Explain GRPO-style training for diffusion models

    This question tests your conceptual understanding of applying Group Relative Policy Optimization (GRPO) to diffusion models, focusing on how reinforcement learning can be used to steer image generation toward specific objective functions without explicit gradient feedback from the decoder.

    Machine LearningTechnical ScreenDiffusion ModelsReinforcement LearningGRPO
  • GoogleHardMachine Learning Engineer
    Explain Importance Sampling in LLM Training

    Tests understanding of importance sampling in modern LLM fine-tuning, focusing on sequence-level likelihood ratios, exponential variance growth, support conditions, and practical mitigations like clipping and diagnostics.

    Machine LearningTechnical Screenreinforcement-learningllm-trainingimportance-sampling
  • GoogleHardMachine Learning Engineer
    Explain KL Divergence in Language Models

    Review KL divergence from its probability definition through directionality, support mismatch, sample estimates, and LLM regularization.

    Machine LearningTechnical Screen
  • GoogleMediumSoftware Engineer
    Explain LLM fine-tuning and generative models

    This question tests your conceptual understanding of generative model architectures and the practical trade-offs involved in adapting large-scale language models to specific tasks.

    Machine LearningTechnical ScreenLLMFine-tuningGenerative Models
  • GoogleMediumMachine Learning Engineer
    Explain LLM lifecycle and trade-offs

    This question evaluates a candidate's understanding of the end-to-end lifecycle of large language models, covering training data collection and filtering, pretraining objectives, transformer architecture, post-training methods like supervised fine-tuning and preference optimization, and common model or training variants.

    Machine LearningTechnical Screen
  • GoogleHardMachine Learning Engineer
    Explain VAEs, ELBO, KL, and Reparameterization

    Derive and explain the theoretical foundations of Variational Autoencoders (VAEs), linking the Evidence Lower Bound (ELBO) to network architecture, gradient estimation via the reparameterization trick, and posterior collapse.

    Machine LearningTechnical ScreenVariational AutoencodersGenerative ModelsDeep Learning
  • GoogleHardData Scientist
    Explain a favorite model end-to-end

    This question evaluates a candidate's end-to-end machine learning competencies, including problem framing, objective and loss selection, inductive biases, feature engineering, validation strategies, training and regularization practices, production issues, monitoring, and fairness/privacy considerations.

    Machine LearningOnsite
  • GoogleMediumData Scientist
    Explain linear regression to non‑technical stakeholders

    This question assesses the ability to communicate complex statistical models to non-technical stakeholders, focusing on clarity, intuition, and identifying limitations.

    Machine LearningTechnical ScreenCommunicationLinear RegressionStatistics