Design
Loyalty Points & Rewards Program
Design a loyalty program that earns points on purchases, tracks tiers, and lets users redeem rewards.
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.
Model points as an auditable ledger
Apply Strategy for configurable earning rules
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
05 - Companies that ask this
You may face this exact question in your next interview.
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