Probability That One Customer's Two Coffees Beat Another's Two
Company: Mercor
Role: Software Engineer
Category: Statistics & Math
Difficulty: medium
Interview Round: Technical Screen
Overview: A probability puzzle in which two customers each buy two cups of coffee of random quality, and you find the chance that one customer's cups are better than the other's. It tests clarifying what better means, using symmetry over rankings, checking the result a second way, and reasoning about ties and correlated cups.
Read the full Mercor Software Engineer interview experience this question came from