← JPMorgan Chase Interview Insights
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.
Compute the total number of ways to choose 4 people from the 10 using combinations: C(10,4).
Determine the number of ways to choose exactly 2 complete couples from the 5 available: C(5,2).
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).
Multiply the results from steps 2 and 3 to get the total number of favorable outcomes.
Divide the favorable outcomes by the total outcomes to get the probability.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.