Skip to main content

TL;DR

Catalan Numbers and Ballot Sequences: A canonical quantitative trading interview question at olympiad difficulty. Commonly asked at Jane Street, HRT, Two Sigma.

By Valenke Exam Prep Team·Last updated 2026-06-01
olympiadCombinatorial Arguments

Catalan Numbers and Ballot Sequences

Asked at: Jane Street, HRT, Two Sigma

Problem
In an election, candidate A receives nn votes and candidate B receives nn votes. Votes are counted one at a time. What is the probability that A is strictly ahead throughout the entire counting (never tied or behind after the first vote)? Express the answer in terms of the Catalan numbers.

Ready to practice for the Valenke Finance Exam?

Adaptive practice powered by Item Response Theory targets your weak areas. Start with 3 free sessions.

Start free practice →