Quant Puzzles

Quant Puzzles

EV of Local Maxima

Problem tags: Medium, Probability

Lohit's avatar
Lohit
Feb 03, 2024
∙ Paid

5 balls labeled 1-5 are placed in a line at random. A number is a local maxima if it is greater than the number before and after it. Find the expected number of local maxima in the sequence.

For example: in 42531, we have 2 local maxima in this sequence at the first and third spots.

To receive new posts and support my work, consider becoming a free or pa…

User's avatar

Continue reading this post for free, courtesy of Lohit.

Or purchase a paid subscription.
© 2026 Lohit · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture