The Smurfs show up in a PM interview
面试中遇到蓝精灵 - AI PM 面试复盘 14- In a product interview, the interviewer suddenly gave me a math problem about Smurfs: 50 Smurfs, three groups of 35 each—what’s the minimum number who belong to all three groups? I used it to practice reasoning on the spot, and the answer is 5.
- First separate “number of people” from “number of group memberships”: there are 105 memberships, but if everyone is in at most two groups you only get 100, so the extra 5 have to come from people in all three. Then actually build the grouping to confirm the lower bound can be reached.
- No question bank can cover everything an interviewer might ask. Restating the conditions, spelling out my assumptions and checking feasibility at the end helps the other person follow my thinking more than suddenly announcing a number.
For one product interview, I’d prepared plenty of questions on AI, strategy and stakeholders.
Partway through the conversation, the interviewer suddenly gave me a math problem about Smurfs:
There are 50 Smurfs and three groups of 35 each. What’s the minimum number of Smurfs who belong to all three groups?
My answer in the moment wasn’t fully captured in my notes, so I can’t say for sure what I got right or wrong, and I don’t know whether this question affected the outcome.
But the problem itself is great for practicing reasoning on the spot.
01 | First turn the problem into something you can count
No need to start with a complicated Venn diagram. Start with “how many times can each person count at most.”
Three groups of 35 each gives you a total of:
35 × 3 = 105 “group memberships.”
The 105 isn’t 105 different people. A Smurf who joins two groups gets counted twice.
02 | Start by assuming no one is in all three groups
If everyone joins at most two groups, 50 people can supply at most:
50 × 2 = 100 group memberships.
But the problem needs 105, which leaves at least 5 extra.
Each person who belongs to all three groups contributes one more membership than the “at most two groups per person” ceiling.
So at least 5 people have to be in all three groups.
03 | Then check: can this minimum actually be reached?
Yes. Put 5 people in all three groups, and split the remaining 45 into three batches of 15, each belonging only to one of the pairs A+B, A+C and B+C.
That way every group has 5 + 15 + 15 = 35 people, and exactly 5 people are in all three groups.
The answer is 5—not just a lower bound you calculated, but one you can actually achieve.
This step is well worth doing: calculating a lower bound doesn’t mean the problem actually lets you reach it. You have to build the grouping to be sure about the word “minimum.”
For similar three-group overlap problems, you can also start with a general lower bound: total memberships across the three groups − 2 × total number of people. If the result is positive, you need at least that many people in all three groups.
04 | In an actual interview, how should you answer?
I’d start by restating the conditions, then separate “number of people” from “number of group memberships.” If I can’t see the answer right away, I can say first: “Let me find the ceiling when there’s no three-way overlap.”
Spell out the assumptions as you work through it, and check at the end whether the answer can actually be achieved. That helps the other person understand your thinking much more than suddenly announcing a number.
Preparing a question bank makes you more familiar with the material, but it can’t cover every question an interviewer might ask. How you organize your reasoning when facing an unfamiliar problem is worth practicing on its own.
Over the mountains, beyond the sea, there lives….
Written in Chinese and translated into English with the help of AI. Read the original