Qm
BrainteasersJane StreetCitadel

Ten two-digit numbers and two equal sums

You are given ten distinct two-digit numbers (each between 10 and 99).

Prove that there are always two groups of these numbers, using none of the same numbers, each group non-empty, whose totals are equal.

For example, from 12, 25, 37 and others you might find 12 + 25 = 37. But the claim is that this is unavoidable for any ten two-digit numbers.

Show a hint

Count how many different groups (subsets) can be formed from ten numbers, and compare with how many different totals are possible.

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

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

A run of days that nets a multiple of nFifty-one ants and a small square cardGloves in the darkHow many socks to guarantee two pairs?Matching socks in the dark
All questions →