Bayesian Search Order for a Lost Phone With Find My Device
Last updated: November 29, 2026
Quick Overview
A user's phone is offline, and Find My Device's last signals suggest it is at home with probability 0.5, at the office 0.3, or in the car 0.2. A search finds the phone, if it is there, with probability 0.6 at home, 0.9 at the office and 0.95 in the car. Find the best search order and how beliefs update after each failed search.
0
0
0 solved
A user's phone is offline, and Find My Device's last signals suggest it is at home with probability 0.5, at the office 0.3, or in the car 0.2. A search finds the phone, if it is there, with probability 0.6 at home, 0.9 at the office and 0.95 in the car. Find the best search order and how beliefs update after each failed search.
Google likes Bayesian reasoning questions that tie to a product, and search theory is a clean example: a failed search is evidence too. The interviewer checks that you update correctly on a negative result and choose actions by detection-weighted probability, not by prior alone.
What the Interviewer Expects
- Recognize that the best next search maximizes p times detection probability
- Update the posterior after a failed search
- Iterate the search order
- Explain why the highest-prior location may not be searched first
- Implement the update in code
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- How would search costs (time to reach each place) change the rule?
- Can it be worth searching the same place twice in a row?
- How would you fold in a new weak location ping after search two?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Detection probability is conditional on the phone being there; a search never gives a false positive. Searches take equal effort, and we want to maximize the chance of finding it on each next search....
Approach
The chance of finding it in location on the next search is . After failing in , multiply by and renormalize. With equal costs, picking the largest at each s...