The batter with the higher average each year, but not overall
Two baseball players are compared on batting average (hits divided by at-bats) over two seasons.
- Season 1: Player X gets 4 hits in 10 at-bats (.400); Player Y gets 35 hits in 100 at-bats (.350).
- Season 2: Player X gets 25 hits in 100 at-bats (.250); Player Y gets 2 hits in 10 at-bats (.200).
Combining both seasons, X batted 29 for 110 (.264) and Y batted 37 for 110 (.336), so Y has the better combined average.
Which player was the better hitter, and why does the combined average disagree?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
The strategy that wins in every regime but loses overallWhen disaggregating is the wrong moveThe ad channel that converts better on every deviceThe school that passes more students in every subjectDid the university admit men at a higher rate?
All questions →