5 statistics interview questions, asked at Amazon, Anthropic, Perplexity and 2 more companies. Last asked Jul 2026.
Predict a future point with a fitted lineAI/ML designFit a straight line to a set of data points and use it to predict the value at a future point. Explain how the fit is computed and how far you would trust the prediction.
Last asked Jul 2026
Reservoir sampling and a check that it is uniformCodingPick k items uniformly at random from a stream of unknown length in one pass and O(k) memory. Then write a simulation that tests whether your picks are close to uniform, and…
Gaps between middle order statistics of uniform samplesCodingDraw ten numbers uniformly from 0, 1 and sort them. Compare the gap between the 4th and 5th smallest with the gap between the 5th and 6th. Simulate many draws and build the…
Last asked Jan 2021
Design review: an eval gate for model launchesAI/ML designYou are reviewing the design of the evaluation gate that decides whether a new model checkpoint can launch. Critique it: what it can miss, how it can mislead, what you would…