Software Engineer Statistics & Math Interview Questions
Practice 39 real Statistics & Math interview questions for Software Engineer roles. From companies including Optiver, MathWorks, Jane Street, BlackRock, Hudson River Trading.

"I got asked a hardcore MCM DP question and I saw it on PracHub as well. Solved that question in 5 minutes. Without PracHub I doubt I could solve it in 5 hours. Though somehow didn't get hired, perhaps I guess I solved it too fast? /s"

"Believe me i'm a student here jn US. Recently interviewed for MSFT. They asked me exact question from PracHub. I saw it the night before and ignored it cause why waste time on random sites. I legit wanna go back and redo this whole thing if I had chance. Not saying will work for everyone but there is certainly some merit to that website. And i'm gonna use it in future prep from now on like lc tagged"

"10 years of experience but never worked at a top company. PracHub's senior-level questions helped me break into FAANG at 35. Age is just a number."

"I was skeptical about the 'real questions' claim, so I put it to the test. I searched for the exact question I got grilled on at my last Meta onsite... and it was right there. Word for word."

"Got a Google recruiter call on Monday, interview on Friday. Crammed PracHub for 4 days. Passed every round. This platform is a miracle worker."

"I've used LC, Glassdoor, and random Discords. Nothing comes close to the accuracy here. The questions are actually current — that's what got me. Felt like I had a cheat sheet during the interview."

"The solution quality is insane. It covers approach, edge cases, time complexity, follow-ups. Nothing else comes close."

"Legit the only resource you need. TC went from 180k -> 350k. Just memorize the top 50 for your target company and you're golden."

"PracHub Premium for one month cost me the price of two coffees a week. It landed me a $280K+ starting offer."

"Literally just signed a $600k offer. I only had 2 weeks to prep, so I focused entirely on the company-tagged lists here. If you're targeting L5+, don't overthink it."

"Coaches and bootcamp prep courses cost around $200-300 but PracHub Premium is actually less than a Netflix subscription. And it landed me a $178K offer."

"I honestly don't know how you guys gather so many real interview questions. It's almost scary. I walked into my Amazon loop and recognized 3 out of 4 problems from your database."

"Discovered PracHub 10 days before my interview. By day 5, I stopped being nervous. By interview day, I was actually excited to show what I knew."

"I recently cleared Uber interviews (strong hire in the design round) and all the questions were present in prachub."
"The search is what sold me. I typed in a really niche DP problem I got asked last year and it actually came up, full breakdown and everything. These guys are clearly updating it constantly."
Optimal Stopping with Square-Number Ruin
Optimal Stopping with Square-Number Ruin You repeatedly roll a fair six-sided die and add each roll to a running total. Before each roll, you may stop...
Optimize a Two-Box Place-or-Take Game
Optimize a Two-Box Place-or-Take Game A one-player game has two opaque boxes and lasts exactly 100 turns. On a place turn, a third party adds one unit...
Solve a Set of Probability and Quantitative Reasoning Problems
Solve the following quantitative reasoning problems. Show enough work to make each result auditable, state any interpretation you need, and keep exact...
Solve Probability and Logic Puzzles Under Interview Pressure
Solve a set of interview puzzles: estimate the probability of seeing at least one car in a half hour when the one-hour probability is 0.99; compute ho...
Choose Mean or Median for Trading Profit Metrics
A trading firm observes daily profit values X_1 through X_n and wants a metric for average performance. In an interview, you must choose between mean ...
Compute Point-to-Plane Distance and Fit a Robust Plane
Compute Point-to-Plane Distance and Fit a Robust Plane Use NumPy-style vectorized operations to solve both parts of this 3D geometry exercise. Constra...
Count Restricted Frog Paths on a Grid
Count Restricted Frog Paths on a Grid A frog starts at (0, 0) and must reach (7, 4). Each step moves either one unit right or one unit up. The frog ma...
Find the Largest Equivalence Class of Fractions
Given a list of integer fractions (numerator, denominator), find the largest number of fractions that represent the same rational value. Fractions may...
Compute Statistics from a Frequency Array
Compute Statistics from a Frequency Array You receive an array freq of length 256. freq[v] is the number of times integer value v occurs in an implici...
Plan for timed probability assessment
Timed Probability/Statistics Assessment Strategy Company: Optiver · Role: Software Engineer You are taking a timed online assessment of 30 probability...
Calculate win chance in three-player dice game
Probability of Winning with Rerolls on Ties Setup - Three players: A (you), B, and C. - A fair six-sided die is used. - B and C have already rolled an...
Calculate the Probability That Two Dice Sum to Seven
Roll two independent fair six-sided dice. What is the probability that their sum is 7? Show the sample space and favorable outcomes. Then explain why ...
Analyze an Unfair-Coin Bankroll Game
A player starts with a bankroll of 10. Each round, a biased coin is heads with probability 0.6 and tails with probability 0.4. On heads the bankroll i...
Find the Color Probability After Discarding Cards
A standard 52-card deck has 26 red and 26 black cards and is uniformly shuffled. Discard the first 10 cards without observing their identities. What i...
Solve numeric sequence pattern puzzles
Sequence Pattern Puzzles This is a timed pattern-recognition section of the kind used on quantitative-trading aptitude tests. You are given five indep...
Find the Probability That the Three Smallest Dice Sum to Three
Roll four independent fair six-sided dice. Sort the four results and sum the three smallest values. What is the probability that this sum equals 3? De...
Solve quick probability questions
Rapid-Fire Probability Questions You are in a timed quantitative screen. Answer each of the following independent probability questions, ideally in we...
Explain median vs mean for L1/L2
Median vs. Mean Under L1 and L2 Loss, and the 2D Extension Explain, with intuition and a brief derivation, the relationship between the choice of loss...
Calculate dice game win probability
Calculate dice game win probability Dice Game With Tie Rerolls: Probability You Eventually Win Context - Three players each roll a fair standard 6-sid...
Find the Correlation Between Two Die-Face Counts
Find the Correlation Between Two Die-Face Counts A fair six-sided die is rolled independently n times, where n is a fixed positive integer. Let X be t...