Design an E-Commerce Recommendation System from Browsing History

Last updated: July 26, 2026

Quick Overview

Design a recommendation system for an e-commerce platform that utilizes users' browsing history to suggest products.

Oracle
ML System Design
Software Engineer
Oracle
July 26, 2026
Software Engineer
Onsite
ML System Design
Medium

0

0

13 solved


Design a recommendation system for an e-commerce platform that utilizes users' browsing history to suggest products.

This question is typically asked in onsite interviews for software engineering roles at Oracle to assess the candidate's ability to design scalable machine learning systems. The interviewer is evaluating the candidate's understanding of recommendation algorithms, system architecture, and how to leverage user data effectively while considering performance and user experience.

What the Interviewer Expects
  • Identify key requirements and goals for the recommendation system.
  • Outline a high-level architecture including data sources and processing pipelines.
  • Discuss specific algorithms for generating recommendations based on browsing history.
  • Address potential trade-offs and scaling challenges.
  • Consider user privacy and data security in the design.
Key Topics to Cover
Recommendation Systems
Machine Learning Algorithms
Data Processing Pipelines
User Privacy
Scalability
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How would you handle cold start problems for new users?
  • What metrics would you use to evaluate the effectiveness of your recommendation system?
  • Can you discuss potential biases in your recommendation algorithms?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

To design an e-commerce recommendation system, we need to establish key requirements:

  1. Personalization: The system should provide tailored product suggestions based on individual user behavior. ...
High-Level Design

The architecture of the recommendation system can be broken down into several components:

  • Data Collection: Capture user browsing history and interactions using tracking mechanisms like cookies a...

Submit Your Answer
Markdown supported

Related Questions