Question bank › Low-Level Design
Lld Low-Level Design Hard

E-commerce Shopping Cart

Create a design for an e-commerce shopping cart system that allows users to add items, manage their cart, apply promo codes, and proceed to checkout. The design should be modular enough to accommodate future promotional strategies and payment methods. How would you structure your classes and what design patterns would you consider for extensibility and maintenance?

Key concepts

object-orienteddesign patternsmodularity

Practise this out loud — free

Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.

🎙 Practise this question now
Part of InterviewLab's verified interview question bank. We show the prompt and concepts to practise with — never a copy-paste solution.