Shopping Cart and Checkout Price Engine (OOD)

System DesignAmazonLast reported October 2026Low Frequency
Reported
3× across candidate reports
First seen
September 2026
Last reported
October 2026
Reported outcome
pass

Problem Overview

Build the checkout price engine for an e-commerce platform, as an object-oriented design. Given a cart, compute the final price by applying discounts: - The cart has line items, each with productId, unitPrice and quantity. - The customer has a tier: standard or premium. - Three discount kinds: PERCENT_OFF, FIXED_OFF,…

  • 5 candidate-reported follow-ups — the exact probes interviewers asked, with the trigger for each
  • The rest of the problem statement — full requirements, constraints, and edge cases
  • Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full Amazon catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every Amazon question.
Unlock with Pro
Already a member? Sign in
Verified Source
Every question is reconstructed from multiple independent candidate reports. Verbatim follow-ups, not invented ones.
Codex Fact-Checked
Technical claims, formulas, and scale numbers are reviewed against primary sources.
Interviewer Follow-ups
The exact follow-ups reported by candidates, with the trigger that prompts each one — plus the mistakes that sink people.
Is this helpful?