Expectation · A row of people by height · difficulty 3 of 5
Peaks in a shuffled row
10 people of different heights stand in a random order in a row. Someone is a peak if they're taller than everyone next to them (the people at the ends have only one neighbor). How many peaks are there on average?
Answer with an expected value. First lock in a gut guess with an 80% range, then solve it properly, then watch a simulation settle on the truth.
More expected value puzzles
- Counting up with a die · Rolling a die
- Cards between the jokers · A deck with two jokers
- Counting streaks · Coin flips
- Heads and tails both · Coin flips
- Heads, then tails · Flipping a coin
- Letters in the right envelopes · Mail
All expected value puzzles · All puzzles · Market making game