All problems
Intermediate·🏪 Retail·Starbucks · Sephora · Amazon

Design
Loyalty Points & Rewards Program

Design a loyalty program that earns points on purchases, tracks tiers, and lets users redeem rewards.

#OOP#Rules Engine
Start Solving 6F + 2NF requirements inside

01 -  Why interviewers ask this

It's a rules-engine problem in disguise — interviewers check whether new earning promotions become new rules, not new code paths sprinkled through checkout.

02 -  Where this system exists in the real world

You interact with this design every day.

Starbucks / Sephora / airline loyalty programs

Credit card rewards and cashback systems

E-commerce loyalty and referral programs

03 -  What you'll master

Solve this once. Know it forever.

01

Model points as an auditable ledger

02

Apply Strategy for configurable earning rules

03

Design tier evaluation without excess recomputation

04 -  What you'll design

6 functional · 2 non-functional requirements.

Earn points on qualifying purchases based on configurable rules

5 more requirements inside

Sign in to unlock the full brief and start designing

Unlock Requirements

05 -  Companies that ask this

You may face this exact question in your next interview.

S
Starbucks
S
Sephora
A
Amazon

Ready?

Open the canvas.
Design it yourself.

See all requirements, use staged hints, run your code, and compare with community discussions - all on the same canvas.

Start Solving