SIG (Susquehanna)·Software Engineer·Onsite - System Design / Architecture
- Design an object-oriented supermarket checkout system. Walk through your class diagram, key abstractions, and how you'd handle items, a shopping cart, pricing rules, taxes, payment methods, and receipt generation.
- How would you structure the pricing rules system so that new promotion types (like 'buy 2 get 1 free' or a loyalty discount) can be added without touching existing code?
- How would you add a new payment method without breaking the existing payment processing code?
“This is one of those questions that feels manageable at first and then quietly expands on you.”