Probability a Group Poll Winner Led From the First Vote
Last updated: November 29, 2026
Quick Overview
A Facebook Group poll ends with 60 votes for option A and 40 for option B. If the votes arrived in uniformly random order, what is the probability that A was strictly ahead after every single vote?
Meta
November 29, 20260
0
0 solved
A Facebook Group poll ends with 60 votes for option A and 40 for option B. If the votes arrived in uniformly random order, what is the probability that A was strictly ahead after every single vote?
The ballot theorem is a classic hard question in quant-leaning Meta interviews and fits product intuitions about live vote counts. The interviewer expects the reflection principle or a cyclic argument and a check on small cases.
What the Interviewer Expects
- State the ballot theorem result $(a-b)/(a+b)$
- Prove it with the reflection principle
- Compute 0.2 for 60 versus 40
- Verify by brute force on small counts
- Explain what changes for 'ahead or tied'
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the probability A was never behind (ties allowed)?
- What if the totals are equal?
- How would you compute this by dynamic programming?
- How does this relate to random walk first passage?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Votes are a uniformly random arrangement of A's and B's. We want ....
Approach
Think of the count difference as a lattice path from stepping for A and for B, ending at . We need paths that stay strictly positive after the first step. The first vote must ...