July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
25
:
29
Back to Dashboard
Customer Revenue System
Medium
Design a customer revenue tracking system that supports direct sign-ups and referral-based registration. Each customer has a unique auto-incrementing ID starting from 0. When a customer refers a new user, the referrer earns a portion of the new customer's revenue (the full revenue amount is added to the referrer's total).
Operations
...