InterviewDB Question

Subscription Tracking: Manage User Subscriptions and Compute Monthly Billing

Question Details

Round 1 - Coding Problem Implement a subscription tracking system. Users subscribe to plans with monthly prices. Mid-cycle plan changes are prorated. Compute the total bill for a user at the end of each month. Example Follow-ups How do you handle a user who cancels mid-month — do they get a refund or not? How would you support annual subscriptions with monthly billing breakdowns? What data structure tracks multiple plan changes within a single month? How do you generate an invoice line-item brea…

Full Details

🔒

Unlock all Ramp questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a ramp interview during the phone round.

It covers the following topics: Coding, Onsite, Phone .