#324

The Ballot Problem

Also asked as: The ballot problem · the reflection principle · probability one candidate is always ahead

One of the classic quant interview questions, free to read in full.

Problem

Candidate A receives 5 votes and candidate B receives 3 votes. The 8 votes are counted one at a time in a uniformly random order. In how many of the orderings is A strictly ahead of B after every single vote is counted?

Your answer

Accepts decimals, fractions (5/12), and percentages (25%).

Hints

More Combinatorics to train on

All Combinatorics questions →