Software Engineer • Intern
Software Engineer • Intern
High QualityPrep Other Coding Questions Asked by Stripe
Continue with targeted prep from Stripe's coding question bank.
Interview Summary
The technical screen featured a three-part coding problem about scheduling merchant payouts. It started with a fixed payout cycle, then introduced merchant-specific schedules and transaction holding periods. Each extension built on the previous part, making payout-date calculations and transaction aggregation the central challenges.
Interview Details
Part 1 — Fixed-Interval Transaction Payouts
The first task involved implementing a payout scheduler that processes a collection of transactions. Each transaction contains an id, an amount in cents, and a day representing when it occurred. A global payout_interval determines how frequently payouts are scheduled.
The implementation needed to satisfy several rules:
- Each transaction is assigned to the next scheduled payout date. A transaction occurring on a payout date must be deferred to the following payout cycle.
- Transactions sharing a payout date are combined into a single payout, with their amounts added together and their transaction IDs retained.
The output should be sorted by payout date. Each payout amount must be converted
Unlock Full Details
Create a free account to unlock this interview experience report.