← JPMorgan Chase Interview Insights

JPMorgan Chase·Software Engineer·Technical Phone Screen·Intermediate

Intermediate
Jun 2026

Summary

JP Morgan quant engineer interview with a probability brain teaser. Pretty much just one question but it's the kind that looks simple until you start counting and realize you've been doing it wrong for two minutes.

Questions Asked (1)

Q1

5 men and 5 women are paired into 5 couples. If you randomly pick 4 people from the 10, what is the probability that exactly 2 complete couples are chosen?

Algorithms & Data Structures
Author's notes

I fumbled the counting part initially.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Use combinatorics to count the total number of ways to choose 4 people from 10, then count the favorable outcomes where exactly 2 complete couples are selected. For the favorable count, first choose which 2 couples are complete, then choose the remaining 2 people from the other 3 couples such that they do not form a complete couple.

Pro tip: Clearly explain your reasoning step-by-step, especially how you avoid double-counting and ensure exactly 2 complete couples. This demonstrates strong analytical skills and attention to detail, which are crucial for software engineering roles.

1. Calculate total outcomes

Compute the total number of ways to choose 4 people from the 10 using combinations: C(10,4).

2. Choose the complete couples

Determine the number of ways to choose exactly 2 complete couples from the 5 available: C(5,2).

3. Choose the remaining individuals

From the remaining 3 couples (6 people), choose 2 people such that they do not form a complete couple. This can be done by subtracting the number of ways to choose a complete couple from the total ways to choose 2 people from 6: C(6,2) - C(3,1).

4. Compute favorable outcomes

Multiply the results from steps 2 and 3 to get the total number of favorable outcomes.

5. Calculate probability

Divide the favorable outcomes by the total outcomes to get the probability.

Key Points to Mention

  • Use of combinations (binomial coefficients) to count selections without order.
  • The principle of inclusion-exclusion or complementary counting to ensure exactly 2 complete couples.
  • Avoiding double-counting by clearly separating the selection of complete couples and the remaining individuals.
  • Simplifying the fraction to lowest terms if possible.
  • Verifying that the chosen remaining individuals do not accidentally form a third complete couple.
  • Clearly stating the final probability as a fraction or decimal.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.