Recommendation, Ranking, and Personalization Questions

Systems that select and order items for users. Covers candidate generation and ranking, personalization signals, collaborative and content-based approaches, learning-to-rank, multi-armed bandits, and online experimentation for model validation. Focuses on the modeling and evaluation patterns specific to recommendation and ranking at scale.

EasyTechnical
88 practiced

Explain the differences between pointwise, pairwise, and listwise learning-to-rank approaches. Give example loss functions for each (e.g., pointwise MSE/log-loss, pairwise hinge/BPR, listwise Softmax-NDCG or ListNet) and discuss practical considerations when choosing among them for recommender systems.

HardSystem Design
63 practiced

Architect a full-scale recommendation platform for a streaming service with 100M users, 30M items, and peak 100k RPS. Requirements: personalized recommendations, sub-100ms latency for popular endpoints, support for online experiments, privacy controls, multi-region availability, and the ability to retrain models daily. Provide component interactions, data stores (ANN, feature store, model store), serving strategies, and high-level capacity estimates.

HardTechnical
66 practiced

Discuss strategies to provide interpretability and explainability for complex ranking models such as deep nets and gradient-boosted trees. Cover global and local techniques (feature importance, SHAP/LIME, attention inspection), engineering constraints for producing real-time explanations at scale, and privacy/leakage concerns when exposing explanations to end users.

MediumTechnical
78 practiced

Compare ANN libraries and index types: FAISS (flat, IVFPQ), Annoy, and HNSW (nmslib). Discuss differences in memory usage versus recall, index build time, incremental update support, GPU vs CPU options, and scenarios where each library or index family is a good fit in production.

MediumTechnical
84 practiced

Define data leakage in the context of training ranking models. Provide concrete examples such as using future user interactions, using downstream signals as features unintentionally, or training on predictions that include the candidate set. Describe detection techniques and engineering controls (point-in-time joins, unit tests, schema checks) to prevent leakage.

Unlock Full Question Bank

Get access to all 40 Recommendation, Ranking, and Personalization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.