09Explain recommendation approaches: collaborative filtering vs content-based, matrix factorization, and cold start.▼mediumMetaNetflixAmazon1 repliesunlockedRecsys underpins half of applied ML, and this question checks whether you fit the approach to data availability and hold a real answer for the cold-start problem that breaks naive systems. Here is the foundations answer.Open full answer →
66What are Graph Neural Networks (GNNs), and how does message passing work?▼hardGoogleMetaPinterest2 replies◆ premiumGNNs power recommendations, fraud, and molecule modeling by learning over graph structure. What matters is the message-passing mechanism, why k-hop matters, and why you keep them shallow. Here is the answer.Open full answer →
02Design a large-scale recommendation feed (retrieval then ranking) for 100M users.▼hard★ EssentialMetaGoogleNetflix1 repliesunlockedThe most common ML system design round. Interviewers reward the funnel structure: candidate generation, then ranking, then re-ranking, with the right model at each stage plus an honest plan for cold start, freshness, and feedback loops. This lays out that structure.Open full answer →
34Design a two-tower retrieval system for recommendation/candidate generation.▼hard★ EssentialGoogleMetaPinterest2 replies◆ premiumHow large recommenders and search draw candidates from millions of items in milliseconds. The signal is why the user and item towers stay separate, how that enables precomputed embeddings plus an ANN index, and where ranking takes over.Open full answer →
37Design a 'People You May Know' (friend/connection recommendation) system.▼hardMetaLinkedInGoogle1 replies◆ premiumPYMK is graph recommendation at billion-node scale. The interviewer is testing for one instinct: do you generate candidates from the social graph, or naively try to score every pair? Here is the design that holds up through the follow-ups.Open full answer →
45How do you handle the cold-start problem in a recommendation system?▼hardNetflixAmazonSpotify1 replies◆ premiumNew users and new items carry zero interaction history, so collaborative filtering has nothing to work with. The candidates who pass treat it as a lifecycle, not a single trick. Here is how.Open full answer →
51Explain matrix factorization for recommendation, and how it compares to modern approaches.▼mediumNetflixAmazonSpotify2 replies◆ premiumMatrix factorization is the classic collaborative-filtering method and the conceptual seed of modern embedding-based recsys. What matters is the latent-factor idea and how it leads to two-tower/neural models.Open full answer →
52Design an event recommendation system (events, jobs, or other time-sensitive items).▼hardMetaLinkedInEventbrite2 replies◆ premiumRecommending events (or jobs) breaks ordinary recsys in two spots: items expire and items are local. What matters is how you handle perishability, geography, and the fact that every item is a cold-start item. Here is the design.Open full answer →
54How do you handle feedback loops and bias in a recommendation system?▼hardNetflixMetaYouTube2 replies◆ premiumA recommender trains on data its own past recommendations produced, so it learns to confirm its own beliefs. What matters is spotting the loop, naming the biases it breeds, and knowing the exploration and debiasing fixes that break it.Open full answer →
01Design the ranking model for a personalized feed (Instagram-style).▼hard★ EssentialMetaLinkedInPinterestunlockedWith billions of candidate items and only tens of milliseconds to choose the next 10, a feed is a latency problem first. The interview probes the two-stage architecture, how you set the objective when engagement fights integrity, and the biases that silently corrupt your training labels.Open full answer →
02Design a music recommendation system (Spotify-style).▼hard★ EssentialSpotifyAppleAmazonunlockedA track runs three minutes, a session runs an hour, and a fresh release has zero plays on launch day. The interview centers on mixing collaborative filtering with audio content embeddings, handling cold start on both sides, and reading a skip as the loud negative it really is.Open full answer →