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

  • NetflixHardMachine Learning Engineer
    L1 vs L2 Normalization: Definitions, Geometry and When to Use Each

    A machine learning fundamentals question asking how L1 normalization differs from L2 normalization of a vector. It tests precise definitions, what each normalized vector represents geometrically, when each is the right choice, and the ability to keep normalization distinct from L1 and L2 regularization.

    Machine LearningTechnical Screen
  • NetflixHardMachine Learning Engineer
    Review a Feature Pipeline PR for Production Risks, Then Serve Features by Freshness

    Review a feature pipeline pull request whose tests all pass and explain what could break once it runs in production, from time leakage and training-serving skew to data quality and scale. Then decide how the same features should be served when the model needs day-old, minute-fresh or request-time values.

    ML System DesignTechnical Screen
  • NetflixMediumMachine Learning Engineer
    Transform flat keys into nested dictionary

    This question evaluates proficiency in parsing and restructuring hierarchical parameter keys into nested dictionary structures, string manipulation for grouping, handling nonconforming keys and duplicates, and reasoning about time and space complexity.

    Data Manipulation (SQL/Python)Technical Screen
  • 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
  • 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 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
  • 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 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
  • 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
    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 Real-Time Collaborative Editing

    This question tests your ability to design a low-latency, distributed synchronization system that manages concurrent text edits from multiple users while maintaining eventual consistency.

    System DesignTechnical ScreenDistributed SystemsCRDTConcurrency
  • OpenAIMediumMachine Learning Engineer
    Design a Resumable Iterator with Checkpoint and Restore

    This question evaluates a candidate's ability to design serializable, stateful abstractions in both in-memory and I/O-bound contexts. It tests understanding of iterator patterns, checkpoint-restore semantics, and test-driven development — competencies commonly assessed in engineering roles requiring systems thinking and API design rigor.

    Coding & AlgorithmsTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Design a low-latency RAG system

    This question evaluates ML system design skills, specifically the ability to architect retrieval-augmented generation pipelines under strict latency, cost, and multi-tenancy constraints. It tests how candidates reason about vector search, re-ranking, and LLM integration at production scale — a core competency for senior machine learning engineering roles.

    ML System DesignTechnical Screen
  • OpenAIHardMachine Learning Engineer
    Design a production RAG system

    An OpenAI ML system design interview question (MLE technical screen): design a production, multi-tenant retrieval-augmented generation (RAG) system for enterprise document QA. The model answer covers ingestion and chunking, embedding selection, ANN/vector indexing (HNSW vs IVF-PQ), hybrid retrieval and cross-encoder re-ranking, prompt orchestration with citation grounding, hallucination mitigation, caching and freshness, multilingual and PII/safety handling, scalability and disaster recovery, observability and offline/online evaluation, an API and data schema, cost controls, and a phased rollout. It tests trade-off reasoning across recall, latency, cost, and compliance.

    ML System DesignTechnical Screen
  • OpenAIMediumMachine Learning Engineer
    Design an Editable Text Buffer

    This problem tests your ability to design an efficient data structure for text manipulation while implementing undo/redo history and a dynamic prefix-based autocomplete feature.

    Coding & AlgorithmsTechnical ScreenData StructuresTrieUndo-Redo
  • OpenAIHardMachine Learning Engineer
    Design an In-Memory Key-Value Cache

    Implement a thread-safe in-memory key-value cache supporting capacity bounds, LRU eviction, and per-key time-to-live (TTL) expiration.

    Software Engineering FundamentalsTechnical ScreenData StructuresConcurrencyLRU Cache