← Questions
Design app recommendations for an app store
0
I was asked this
No reports yet. Sign in to say where you were asked it.
An AI/ML design interview question asked in Google's first round (coding), last asked Feb 2026. It tests recommendation systems and ranking.
Design the system that recommends apps to each user on an app store: a personalized home feed of apps to install, and "you might also like" lists on app pages. Hundreds of millions of users and millions of apps.
Requirements
- Functional:
- A personalized ranked list of apps for the home feed.
- Related apps on each app's page.
- New users and new apps get sensible recommendations from the start.
- Never recommend apps the user already has, or apps not available on their device or in their country.
- Non-functional: feed served in under about 200 ms, models refreshed daily or faster, signals such as a new install reflected within minutes.
Clarifying questions
- What is the business goal: installs, installs that are kept, engagement after install, revenue?
- What signals do we have: impressions, clicks, installs, uninstalls, usage time, ratings, searches?
- Are there constraints such as fairness to small developers or limits on promoted apps?
- How big is the catalogue and how often does it change?
What a strong answer covers
- The objective and labels: an install that is kept and used beats a click; negatives from impressions without installs; uninstalls as negative feedback.
- Candidate generation from several sources: a two-tower embedding model, co-install similarity, popularity by country and category, the user's recent searches.
- Ranking with a richer model (gradient-boosted trees or a deep network) on user, app and context features, then re-ranking for diversity, freshness and business rules, with exploration.
- Cold start: popular and trending apps by segment for new users, onboarding interests; content features (description, category, developer) and an exploration budget for new apps.
- Evaluation: offline recall and NDCG on held-out installs; online A/B tests on retained installs, plus guardrails such as uninstall rate and latency.
- Serving: precomputed candidates per user, a feature store, an approximate nearest neighbour index, caching; monitoring for drift and data quality.
Follow-ups
- Installs are rare compared with impressions. How does that affect training?
- How do you stop the system from recommending only the most popular apps?
- A developer games the system with fake installs. How do you detect and defend?
Where it's asked
- Google · First round: coding · Last asked Feb 202645 min · Coding in a Google Doc, no syntax highlighting or autocomplete · No AI
What it tests
recommendation systems · ranking
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
