Katkat

practice a little every day, paws crossed ♡

Machine Learning Engineer 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 271–300 of 381 results

  • SiemensMediumMachine Learning Engineer
    Discuss Post-Training Ownership, Failure, and Disagreement

    Assesses a candidate's ability to communicate technical ownership, resilience after experimentation failures, and data-driven conflict resolution within large-scale machine learning and model post-training workflows.

    Behavioral & LeadershipTechnical ScreenBehavioralPost-TrainingLLMs
  • SiemensMediumMachine Learning Engineer
    Explain SFT, DPO, PPO, and the Role of KL Regularization

    Compare SFT and preference optimization, explain the DPO log-ratio objective, and clarify its relationship to PPO and KL regularization.

    Machine LearningTechnical Screen
  • SnapchatMediumMachine Learning Engineer
    Compare convolutions and transformers

    This question evaluates understanding of neural network architectures, focusing on inductive biases, data and compute trade-offs, mechanisms for handling long-range dependencies, domain-specific roles in vision and NLP, and modern hybrid approaches that address architecture limitations.

    Machine LearningTechnical Screen
  • SnapchatMediumMachine Learning Engineer
    Describe a challenging project you led

    This question evaluates leadership, project management, stakeholder communication, and technical problem-solving skills in a machine learning engineering context, with emphasis on trade-off analysis and impact measurement.

    Behavioral & LeadershipTechnical Screen
  • SnapchatHardMachine Learning Engineer
    Design a ranking system pipeline

    This question evaluates competency in end-to-end ML system design for ranking and recommendation, covering problem definition, data and feature pipelines, offline training, online inference, model refresh, monitoring, and handling cold-start, exploration, feedback loops, and model drift.

    ML System DesignTechnical Screen
  • SnapchatMediumMachine Learning Engineer
    Design a short-video recommender for short-term interest

    This problem tests your ability to design a real-time recommendation system that captures dynamic user intent over short sessions, balancing latency, feature freshness, and algorithmic relevance.

    ML System DesignTechnical ScreenRecommender SystemsReal-time InferenceSession-based Models
  • SnapchatMediumMachine Learning Engineer
    Design short-video retrieval with sparse text

    This question evaluates expertise in ML system design, large-scale information retrieval and recommendation engineering, with emphasis on multi-modal video representation, sparse-text handling, indexing/ANN choices, low-latency online serving, and bias mitigation such as popularity bias.

    ML System DesignTechnical Screen
  • SnapchatMediumMachine Learning Engineer
    Determine Whether Courses Can Be Completed

    This question evaluates understanding of graph modeling, directed cycle detection, and dependency resolution in the context of course prerequisites. It is commonly asked in the coding & algorithms domain because it reveals a candidate's algorithmic problem-solving ability and practical application of graph algorithms (expected O(V+E) time), testing practical implementation skills rather than only conceptual theory.

    Coding & AlgorithmsTechnical Screen
  • SnapchatMediumMachine Learning Engineer
    Evaluate an Integer Arithmetic Expression String With Operator Precedence

    A coding problem to evaluate a string expression of non-negative integers with addition, subtraction, multiplication and integer division, respecting operator precedence and left-to-right order, with no parentheses and no eval. It tests parsing, precedence handling and truncating integer division.

    Coding & AlgorithmsTechnical Screen
  • SnapchatMediumMachine Learning Engineer
    Explain CLIP, contrastive losses, and retrieval limits

    This question evaluates understanding of multi-modal representation learning and retrieval systems, covering CLIP-style joint image–text encoders, contrastive loss families, embedding-based retrieval limitations, alternative retrieval paradigms, and issues like popularity bias.

    Machine LearningTechnical Screen
  • SnapchatHardMachine Learning Engineer
    Explain 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 Engineer
    Explain 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 Engineer
    Explain 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
  • SnapchatMediumMachine Learning Engineer
    Explain 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 Engineer
    Explain 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 Engineer
    Find the Smallest Range Covering K Sorted Lists

    Tests multi-pointer tracking and priority queue fundamentals to find the narrowest bounding interval containing at least one element from each of k sorted lists.

    Coding & AlgorithmsTechnical ScreenHeapSliding WindowGreedy
  • SnapchatHardMachine Learning Engineer
    Implement calculator and graph connectivity

    This question evaluates proficiency in parsing and arithmetic expression evaluation (including operator precedence and nested parentheses) alongside implementation of disjoint-set (Union-Find) data structures for computing graph connected components.

    Coding & AlgorithmsTechnical Screen
  • SnapchatHardMachine Learning Engineer
    What 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
  • SpacexMediumMachine Learning Engineer
    Diagnose 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
  • SpotifyEasyMachine Learning Engineer
    Query Top Played Tracks Globally And By Country

    Tests writing clean SQL queries with aggregations, window functions, and deterministic tie-breaking to extract top playback metrics globally and per country.

    Data Manipulation (SQL/Python)Technical Screensqlwindow-functionsaggregation
  • StackAdaptEasyMachine Learning Engineer
    Explain Why a Geometric Mean Can Exceed Its Median

    Tests derivation and comparison of the expected value and median of a geometric distribution, explaining how right-skewness drives the mean above the median across different parameterizations.

    Statistics & MathTechnical Screenprobabilitystatisticsgeometric-distribution
  • StackAdaptEasyMachine Learning Engineer
    Maintain the Median of an Integer Stream

    This problem tests your ability to maintain dynamic statistics in a data stream using efficient heap-based data structures.

    Coding & AlgorithmsTechnical ScreenHeapsData StreamsAlgorithms
  • StripeMediumMachine Learning Engineer
    Design payment fraud detection

    This question evaluates a candidate's ability to design end-to-end machine learning systems for payment fraud detection, covering competencies in labeling, imbalanced learning, feature engineering across users/merchants/cards/devices/IPs and graph relationships, model selection, online serving, latency and feature freshness, monitoring, experimentation, and adversarial robustness. As an ML System Design problem for a Machine Learning Engineer role, it is commonly asked to probe trade-offs between fraud loss, false positives, user friction and latency and requires both conceptual understanding and practical application of production ML concerns such as evaluation metrics, thresholding, retraining, and operational constraints.

    ML System DesignTechnical Screen
  • StripeMediumMachine Learning Engineer
    Normalize 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
  • TeslaHardMachine Learning Engineer
    Compare 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 Engineer
    Compute 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
  • TeslaMediumMachine Learning Engineer
    Compute nearest index within threshold after walking distances

    This question evaluates a candidate's proficiency in data manipulation, numerical computing with NumPy, spatial reasoning for Euclidean distance and interpolation along polylines, and designing time- and space-efficient algorithms for large-scale inputs.

    Data Manipulation (SQL/Python)Technical Screen
  • TeslaHardMachine Learning Engineer
    Compute suffix sums over waypoints

    This question evaluates a candidate's ability to compute geometric suffix sums over batched 2D trajectories, testing skills in array manipulation, Euclidean distance computation, and runtime-conscious algorithm design within the Coding & Algorithms domain.

    Coding & AlgorithmsTechnical Screen
  • TeslaHardMachine Learning Engineer
    Design 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
  • TeslaHardMachine Learning Engineer
    Explain and derive importance sampling estimators

    This question evaluates understanding of importance sampling, Monte Carlo estimators, weight normalization, variance behavior, optimal proposal selection, and effective sample size, assessing competency in statistical estimation and Monte Carlo methods.

    Statistics & MathTechnical Screen