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 1–6 of 6 results

  • GoogleMediumMachine Learning Engineer
    Generate values by weighted probabilities

    This question evaluates understanding of probabilistic sampling, numerical stability, input validation, and algorithmic trade-offs for streaming weighted random draws, including generator determinism via seeding and methods such as CDF/binary-search versus alias for performance.

    Statistics & MathOnsite
  • LiftoffHardMachine Learning Engineer
    Probability That the Sum of 1,000 Fair Die Rolls Exceeds a Threshold

    A fair six-sided die is rolled 1,000 times; estimate the probability that the sum of the faces exceeds a threshold, including a threshold of 600. Tests the mean and variance of one roll, how they scale for a sum of independent rolls, the normal approximation with a continuity correction, and range checks.

    Statistics & MathOnsite
  • 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
    Maintain Entropy for a Streaming Distribution

    Maintain empirical Shannon entropy after every categorical observation without rescanning all categories. The discussion should cover arbitrary identifiers, first-item behavior, exact counts, floating-point drift, concurrency, deletions, sliding windows, and merging summaries from separate stream partitions.

    Statistics & MathOnsite
  • StackAdaptMediumMachine Learning Engineer
    Camel and Bananas: Maximize Bananas Delivered Across the Desert

    Classic camel-and-bananas brainteaser: a camel that carries at most 1,000 bananas and eats one per kilometer must move 3,000 bananas to a market 1,000 km away. Find the maximum number that can arrive, testing piecewise cost reasoning, depot planning, and a proof of optimality.

    Statistics & MathOnsite
  • StackAdaptMediumMachine Learning Engineer
    Reservoir Sampling: Uniform k-of-n Sample From a Stream of Unknown Length

    Design a one-pass algorithm that keeps a uniform random sample of k items from a stream whose length is unknown in advance, using memory proportional to k. Tests the replacement rule, an inductive proof that every item is kept with equal probability, complexity, and edge cases.

    Statistics & MathOnsite