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 421–450 of 782 results

  • NewsBreakMediumMachine Learning Engineer
    Derive and implement calibration via temperature scaling

    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 Derive and implement calibration via temperature scaling states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningTechnical Screen
  • NewsBreakHardMachine Learning Engineer
    Design approach for class imbalance

    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 Design approach for class imbalance states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Machine LearningTechnical Screen
  • NewsBreakMediumMachine Learning Engineer
    Walk through a key project

    This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Walk through a key project states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipTechnical Screen
  • NextdoorMediumMachine Learning Engineer
    Answer HR motivation and project experience questions

    This interview question evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer for Answer HR motivation and project experience questions states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipTechnical Screen
  • NextdoorMediumMachine Learning Engineer
    Build Ranked Feed With Photo Batching

    This question evaluates algorithmic reasoning and data manipulation skills, including stable sorting, grouping/batching, and merging of ranked items while preserving ordering invariants.

    Coding & AlgorithmsTechnical Screen
  • NextdoorMediumMachine Learning Engineer
    Build a model using only pandas/numpy

    This question evaluates proficiency in applied machine learning competencies including data preprocessing, categorical encoding, feature scaling, implementing baseline models and optimization using numpy/pandas, and selecting appropriate evaluation metrics.

    Machine LearningTechnical Screen
  • NextdoorMediumMachine Learning Engineer
    Build an end-to-end ML classification pipeline

    This question evaluates a candidate's competency in building end-to-end tabular classification pipelines, including data loading and splitting, missing-value handling, categorical encoding, feature scaling, model training and comparison, hyperparameter tuning, metric-based evaluation, model persistence, and batch inference.

    ML System DesignTechnical Screen
  • NextdoorMediumMachine Learning Engineer
    Describe resume highlights and confirm logistics

    Describe resume highlights and confirm logistics evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipTechnical Screen
  • NextdoorMediumMachine Learning Engineer
    Implement ordering with dependency constraints

    This question evaluates understanding of dependency resolution and ordering within graph-based problems, including cycle detection, lexicographic tie-breaking, and extensions requiring certain items to appear as contiguous groups.

    Coding & AlgorithmsTechnical Screen
  • NextdoorMediumMachine Learning Engineer
    Merge overlapping weekly time intervals

    This question evaluates the ability to parse weekday and 24-hour time strings, reason about interval overlap, and apply efficient merging and sorting techniques for time-based intervals.

    Coding & AlgorithmsTechnical Screen
  • NuroHardMachine Learning Engineer
    Design an Inference Pipeline

    This question evaluates competency in designing production machine-learning inference pipelines, covering model routing, artifact versioning and deployment, feature retrieval at inference time, low-latency/high-availability architectures, monitoring for model quality and data drift, and safe rollout strategies.

    ML System DesignTechnical Screen
  • NuroHardMachine Learning Engineer
    Find Maximum Path Sum in N-ary Tree

    This question evaluates understanding of tree traversal and aggregation techniques, including handling of variable-arity nodes, negative values, and path-based dynamic programming on N-ary trees.

    Coding & AlgorithmsTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Analyze matrix multiplication complexity

    This question evaluates understanding of time and space complexity for matrix multiplication and memory accounting in ML workloads, testing competency in asymptotic analysis, linear algebra operations, and resource estimation.

    Software Engineering FundamentalsTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Build and troubleshoot image classification and backprop

    Build and troubleshoot image classification and backprop 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 LearningTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Compute Matrix Prefix Products And Gradients

    This question evaluates understanding of automatic differentiation for matrix operations, specifically forward and reverse-mode gradients for sequential, associative (but noncommutative) matrix products, together with algorithmic analysis of time and space complexity.

    Machine LearningOnsite
  • OpenAIMediumMachine Learning Engineer
    Compute entropy and implement 1-NN

    This question evaluates numerical stability and streaming computation for entropy estimation from logits, along with efficient vectorized linear-algebra implementation of 1-nearest-neighbor inference and its interpretation as a neural-network forward pass under different distance metrics.

    Machine LearningOnsite
  • OpenAIMediumMachine Learning Engineer
    Debug MiniGPT and Backpropagate Matmul

    This question evaluates proficiency in debugging PyTorch transformer implementations, reasoning about attention mechanics and causal masking, implementing key–value caching for autoregressive decoding, and constructing provably correct backward passes for matrix multiplications and custom autograd.Functions.

    Machine LearningTechnical Screen
  • OpenAIMediumMachine Learning Engineer
    Debug Transformer and Add KV Cache

    This problem tests your understanding of transformer architecture by requiring you to fix a broken attention mechanism and implement a Key-Value cache to optimize autoregressive inference.

    Machine LearningOnsiteTransformersAttentionInference
  • OpenAIMediumMachine Learning Engineer
    Debug a Concurrent Job Scheduler

    This question evaluates debugging and hardening skills for concurrent systems, focusing on detection and reasoning about race conditions, deadlocks, lock-contention hotspots, state-machine invariant enforcement, rate-limiting, retry semantics, and instrumentation for per-job metrics in a job scheduler.

    Software Engineering FundamentalsTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Debug a Small PyTorch Transformer with Four Bugs, Then Add a KV Cache

    Debug a small PyTorch transformer language model that hides four bugs, some of which crash and some of which silently ruin training, then add a key-value cache so generation computes only the newest token each step. It tests causal masking, positional encoding, training-loop order and cached decoding.

    Machine LearningOnsite
  • OpenAIMediumMachine Learning Engineer
    Debug a Transformer Implementation and Implement a KV Cache for Decoding

    Practice ML coding question on Transformer language models: find and fix several deliberately planted bugs in a decoder-only Transformer implementation, then implement key-value caching from scratch for autoregressive generation. Tests attention mechanics, tensor-shape reasoning, causal masking, position handling, and verification against full recomputation.

    Machine LearningTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Debug a broken Transformer implementation

    This question evaluates a candidate's ability to debug and validate a Transformer implementation, focusing on attention masking, parameter initialization, loss alignment, and other implementation-level correctness issues.

    Machine LearningOnsite
  • OpenAIHardMachine Learning Engineer
    Debug a transformer training pipeline

    An OpenAI ML engineer technical-screen debugging question: given a PyTorch Transformer training pipeline whose loss diverges and validation accuracy stays near chance (plus mask IndexErrors, AMP crashes, and nondeterminism), identify the distinct bugs and fix them. It tests Transformer internals - attention/causal masking, teacher-forcing label shift, positional encodings, ignore_index loss, optimizer and GradScaler order, determinism, and DDP - along with writing unit tests and a structured debugging plan.

    Machine LearningTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Debug transformer and train classifier

    This question evaluates debugging and practical implementation skills for transformer-based text classification, covering model correctness, training loop integrity, data preprocessing, and evaluation metrics within the Machine Learning / Natural Language Processing domain.

    Machine LearningTechnical Screen
  • OpenAIMediumMachine Learning Engineer
    Defend a Research Direction and Experiment Design

    This question evaluates a candidate's ability to synthesize the state of the art in Machine Learning, defend a research direction, and design rigorous experiments, measuring competencies in literature analysis, methodological justification, experimental design, and technical communication.

    Machine LearningOnsite
  • OpenAIHardMachine Learning Engineer
    Derive Backpropagation for Matrix-Product Layers

    This question evaluates understanding of backpropagation through linear blocks, matrix calculus, and the computation of gradients with respect to individual weight matrices in a product of trainable matrices, including reasoning about tensor shapes and matrix differentials.

    Machine LearningTechnical Screen
  • OpenAIMediumMachine Learning Engineer
    Derive MLE and Bayesian posterior for Bernoulli

    This question evaluates parameter estimation and inferential reasoning for Bernoulli/binomial data, including maximum likelihood estimation and its asymptotic variance, Bayesian updating with a Beta prior and the resulting posterior and posterior predictive probability, as well as interval estimation; it is classified in the Statistics & Math domain. It is commonly asked to assess understanding of frequentist versus Bayesian inference, the behavior and reliability of asymptotic approximations and credible intervals, and the practical implications for predictive probability and uncertainty quantification, testing both conceptual understanding and practical application.

    Statistics & MathOnsite
  • OpenAIMediumMachine Learning Engineer
    Derive Sharded Matrix Multiplication and Backpropagation

    Derive forward and backward computation for column-sharded matrix multiplication across multiple devices. Track every local tensor shape, identify the collective needed for replicated input gradients, and propose tests for shard ordering, scaling, and numerical errors.

    Machine LearningOnsite
  • OpenAIMediumMachine Learning Engineer
    Describe handling pressure and present your work

    Describe handling pressure and present your work evaluates behavioral evidence, ownership, communication, trade-offs, and measurable outcomes in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.

    Behavioral & LeadershipTechnical Screen
  • OpenAIMediumMachine Learning Engineer
    Design Duplicate File Detection

    This question tests the ability to design a scalable content-based deduplication system using cryptographic hashing and distributed storage principles to manage large-scale file ingestion.

    System DesignOnsiteScalabilityDistributed SystemsHashing