Qm

Handshakes at a party of ten couples

Ten married couples attend a party. Every person shakes hands exactly once with every other person present, except their own partner.

How many handshakes take place? Give two different ways to count.

Show a hint

Count all possible handshakes among 20 people, then remove the ones that do not happen. Or count from one person's point of view and divide by two.

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

How many diagonals does a twenty-sided polygon have?Can 21 people each shake exactly three hands?Paths across a six-by-six gridHow many rectangles in a 3 by 4 grid?How many rectangles are on a chessboard?
All questions →