Statistics and probability
329 practice items · needed by 21 roles
Easy 74Medium 114Hard 141
Coding problems
Practice questions
- Random whole number in a rangeeasy
- Median of four valueseasy
- Average roll of a dieeasy
- Typical salary with one outliereasy
- Average order value across storesmedium
- Two people with the same birthdaymedium
- Chance two dice sum to 7medium
- Finding p95 from 20 timingsmedium
- How soon 32-bit hashes collidehard
- Bias from random byte % 100hard
- Picking one random log line from a streamhard
- Weighted random server choicehard
- Making a Monte Carlo result 10× more precisehard
- Upper bound of the fifth retry delayhard
- What a correlation rule doeseasy
- Counting events with Sigma correlationsmedium
- Frequency and timeframe in Wazuhmedium
- A spray slower than the windowhard
- Correlation broken by time zoneshard
- Risky sign-in then mailbox rulehard
- Which event came first?hard
- Standard error of a sample meaneasy
- Entropy of a fair four-way choiceeasy
- Degree-15 curve on 16 pointseasy
- What the intercept meanseasy
- Test set from a later periodeasy
- Validating a forecasting modelmedium
- Positive test for a rare conditionmedium
- Order of arguments in KL divergencemedium
- Closed-form least squaresmedium
- Helping a linear model with a ratiomedium
- Loss that tolerates a few wild labelsmedium
- Predicting daily order countsmedium
- Building a lag featuremedium
- All one-hot columns plus an interceptmedium
- Error bars on a test metricmedium
- Retraining on your own recommendationshard
- Why least squares is maximum likelihoodhard
- Spam probability from one wordhard
- Coefficient on a log-price modelhard
- Promising a delivery time to customershard
- A gap between train and test windowshard
- Comparing two models on one test sethard
- Is a 1-point gain real?hard
- Twenty metrics, one significanthard
- Softmax of equal scoreseasy
- What softmax outputs look likeeasy
- From logprobs to probabilitymedium
- Is a 4-point gain realhard
- Typical income in a skewed dataseteasy
- What standard deviation tells youeasy
- Positive test for a rare diseaseeasy
- Expected profit of a dice gameeasy
- Probability of A or Beasy
- Values within two standard deviationseasy
- Median of six numberseasy
- Z-score of an exam resulteasy
- Units of varianceeasy
- Exactly two heads in three flipseasy
- A correlation of -0.9easy
- Reading a regression coefficienteasy
- Survey sent only to app userseasy
- What the central limit theorem sayseasy
- Comparing beta users with everyone elseeasy
- Percentage change between dayseasy
- Grouping sales by montheasy
- Two independent servers both upeasy
- Churn rate among mobile userseasy
- Expected value of a raffle ticketeasy
- Converting units and the SDeasy
- Expected sign-ups from 100 visitseasy
- Arrivals in ten minuteseasy
- Beyond 1.96 standard deviationseasy
- Red after five blackseasy
- Choosing a panel of threeeasy
- Order of three speakerseasy
- A negative covarianceeasy
- Reading a P90 latencyeasy
- Average of a 0/1 columneasy
- Sum of seven with two diceeasy
- Ten heads in a roweasy
- Typical value of a categoryeasy
- Writing the null hypothesiseasy
- A real effect that was missedeasy
- z-test or t-testeasy
- Moving from 95% to 99% confidenceeasy
- SD and standard erroreasy
- What R² of 0.64 meanseasy
- Predicting far outside the dataeasy
- R² from a correlationeasy
- Parts of a time serieseasy
- A simple baseline for weekly patternseasy
- Uncertainty further into the futureeasy
- Making sure every emirate is coveredeasy
- Only happy customers replyeasy
- One point creates a correlationeasy
- Effect size in standard deviationseasy
- Reading a 95% confidence intervalmedium
- Overall rate flips when splitmedium
- Predicting a heavily skewed targetmedium
- Studying only active usersmedium
- Validating a forecasting modelmedium
- Making a trending series stationarymedium
- Halving a confidence intervalmedium
- resample raises a TypeErrormedium
- A 7-day window on irregular datesmedium
- Average price weighted by quantitymedium
- Days since the previous purchasemedium
- Row percentages in a crosstabmedium
- At least one six in four rollsmedium
- Exclusive events and independencemedium
- Shared birthdays in a small teammedium
- Spread of a differencemedium
- At least one faulty unit in a boxmedium
- A minute with no callsmedium
- Calls until the first salemedium
- Height at the 84th percentilemedium
- Transaction amounts with a long tailmedium
- Two defective items without replacementmedium
- Correlation after a currency changemedium
- Which branch has steadier salesmedium
- Switching doors in a game showmedium
- Are two events independentmedium
- When a normal approximation worksmedium
- When a yes/no metric is noisiestmedium
- Is phone insurance worth itmedium
- Average gap between arrivalsmedium
- Two servers in the same rackmedium
- Reading a Q-Q plotmedium
- Two branches combinedmedium
- Converting probability to oddsmedium
- Choosing a one-sided testmedium
- Before and after on the same usersmedium
- Interval for a survey sharemedium
- Are orders spread evenly over weekdaysmedium
- Comparing average baskets in four citiesmedium
- Small, very skewed samplesmedium
- Significant but not importantmedium
- An interval that includes zeromedium
- Building a bootstrap intervalmedium
- Sample variance of three valuesmedium
- R² keeps rising with more columnsmedium
- A U-shaped residual plotmedium
- Reading a city dummy coefficientmedium
- Which predictor matters moremedium
- Ridge versus lassomedium
- A coefficient with p = 0.30medium
- Slope from correlation and spreadsmedium
- Autocorrelation spike at lag 7medium
- MAPE on slow-moving itemsmedium
- Ramadan shifts every yearmedium
- Flagging an unusual daymedium
- Sampling whole schoolsmedium
- Capping extreme order valuesmedium
- City averages and individual peoplemedium
- A curved but steady relationshipmedium
- Coaching the worst storeshard
- Coefficients that keep flippinghard
- Click-through rate standard errorshard
- A link that only appears in a subsethard
- Error spread grows with the predictionhard
- Direction of omitted variable biashard
- Precision when prevalence dropshard
- Noisy feature, flatter slopehard
- Back-transforming log predictionshard
- Effect with an interaction termhard
- Rolling mean at the edgeshard
- Average lifetime with active customershard
- Great backtest, poor live forecasthard
- When the bootstrap breaks downhard
- Day-over-day change for many storeshard
- First quartile of four valueshard
- Different standard deviations for the same datahard
- Latest exchange rate before each tradehard
- Month-end dates with date_rangehard
- Already waited ten minuteshard
- Variance of a uniform waithard
- A sample mean that keeps jumpinghard
- Which plant made the faulty parthard
- Guarantee without normalityhard
- Expected number of correct matcheshard
- Count data with variance far above the meanhard
- Spread of a day's totalhard
- Making a simulation ten times more precisehard
- A density value of 4hard
- Two positive screening testshard
- Sampling most of a small populationhard
- Sample size for a ±3% marginhard
- Overlapping confidence intervalshard
- How a permutation test workshard
- Reading a Bayesian credible intervalhard
- Maximum likelihood for a click ratehard
- Interval for one new storehard
- A logistic coefficient of 0.693hard
- One store moves the whole linehard
- Reading a log-log coefficienthard
- Updating a smoothed forecasthard
- Forecasting a random walkhard
- Two trending series that correlatehard
- Choosing the AR orderhard
- Zero failures in 600 transactionshard
- Reading a KS drift statisticmedium
- Judge and humans ranking modelsmedium
- A cheaper model that is almost as goodmedium
- Adjusting for an imperfect judgehard
- Margin of error for a pass ratehard
- How many cases for ±2 pointshard
- Comparing two prompts on the same caseshard
- Bootstrap for a score differencehard
- Ranking many prompts from pairshard
- Twenty variants, one "winner"hard
- An eval set full of near-copieshard
- Is the variance from the judgehard
- No failures seen in 150 testshard
- A 30-case Tamil slicehard
- Eval mix differs from traffichard
- Mean or median for salarieseasy
- Correlation and causationeasy
- Median of an even-sized listeasy
- Type of a 1 to 5 ratingeasy
- Which set has more spreadeasy
- Spread of delivery timeseasy
- What the box in a box plot showseasy
- What a p-value meansmedium
- Outlier cutoff with the IQR rulemedium
- Average price across two storesmedium
- Reading a 95% confidence intervalmedium
- False positive in an A/B testmedium
- Why use a 7-day moving averagemedium
- Z-score of a branchmedium
- Typical salary on a dashboardmedium
- Diwali in different monthsmedium
- A daily chart that jumps aroundmedium
- A histogram that hides two groupsmedium
- Why a 7-day moving averagemedium
- Overall rate goes the other wayhard
- Stopping a test earlyhard
- Detecting a small lifthard
- PERCENTILE_CONT vs PERCENTILE_DISChard
- How reliable is a fraud flaghard
- Randomised by user, analysed by sessionhard
- Halving the margin of errorhard
- Worst stores improved on their ownhard
- Correlation near zerohard
- Grand total of an average pivothard
- Combining two store medianshard
- Comparing a week to last yearhard
- Better in every segment, worse overallhard
- A store with 100% conversionhard
- Error bars that overlaphard
- Is today's spike unusualhard
- A moving average that reacts latehard
- Churn shown as 4.2817%hard
- Gaps in time squeezed outhard
- Month-on-month swings during Ramadanhard
- Worst stores improved after coachinghard
- Income bands of different widthshard
- Wide or narrow sensor tablemedium
- Handling a dynamic tokenmedium
- Capturing a token in JMetermedium
- Confidence interval for 4 of 5hard
- SUS 72 versus 68 with 10 users eachhard
- Summarising times with a cutoffhard
- What a p-value meansmedium
- Detecting a smaller effectmedium
- Checking results every daymedium
- Twelve versus nine sign-upsmedium
- Stopping a test at first significancemedium
- Margin of error for a surveymedium
- Up overall, down everywherehard
- Twenty metrics, one winnerhard
- A positive but uncertain resulthard
- How long will the test takehard
- How many users an A/B test needshard
- A result just under the barhard
- Up overall, down in every grouphard
- Five users for a benchmarkhard
- Expected value of an uncertain benefitmedium
- Is the security control worth it?hard
- Reading "significant at 95%"easy
- The null hypothesis in a testeasy
- Reading a confidence intervaleasy
- What 95% significance meansmedium
- Checking results every daymedium
- What 80% power meansmedium
- Detecting a smaller liftmedium
- One of 20 metrics is significantmedium
- One-tailed or two-tailed testmedium
- Reading "probability to beat control"medium
- Significant but tinymedium
- A test with no significant resultmedium
- An interval that crosses zeromedium
- Two kinds of test errorsmedium
- A 60% lift on day twomedium
- Lift test too small to readmedium
- Stopping an A/B test too earlyhard
- How big must the test be?hard
- Testing five variants at oncehard
- Uneven split in a 50/50 testhard
- Sample size for a 10% relative lifthard
- Four variants against one controlhard
- What CUPED doeshard
- One giant order skews a testhard
- Randomise by user, analyse by sessionhard
- Diluted effect from untouched usershard
- Peeking safely during a testhard
- What p = 0.03 does not meanhard
- Testing revenue per visitor properlyhard
- Is a 3% vs 2.5% click gap real?hard
- Sample size for a click-rate testhard
- Comparing exposed and unexposed usershard
- Sales rose after pausing adshard
- Comparing conversion on small sampleshard
- Learning only from the top postshard
- When totals and segments disagreehard
- Refreshing your worst month's pageshard
- Blog readers convert morehard
- Testing for a small improvementhard
- 'The average salary is'hard
- '9 out of 10 users recommend us'hard
- Sample size for a copy testhard
- Why use a survival curvehard
- Customers who have not churned yethard
- Churn spikes at month 12hard