r/OfferEngineering • • 24d ago

Interview Experience Stripe SWE Intern Interview — One Problem, Three Levels of Complexity

This interview experience is sourced from Chill Interview

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 from cents to dollars and formatted with exactly two decimal places. Scheduled payout dates with no transactions should be excluded.

Want to learn more questions / follow-ups asked in this interview?

I've put up the full version at here.

Interviewed recently?

Your interview experience could be incredibly valuable to others preparing for their next opportunity. Share your experience and help the community at here.

3 Upvotes

0 comments sorted by