Determine Probability of Friend Request Being Fake
MetaData Scientist · OnsiteLast updated
Determine Probability of Friend Request Being Fake evaluates statistical assumptions, formulas, estimation strategy, uncertainty, edge cases, and interpretation in a realistic interview setting. A strong answer states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Scenario
Probability that an incoming friend request is from a fake account
Question
95% of accounts are real, 5% fake; fake accounts send 10× more friend requests than real ones. If you receive a friend request, what is the probability it is from a fake account?
Hints
Apply Bayes’ theorem: posterior ∝ prior × likelihood.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.