Account Balance Manager
Stripe interview questions · Medium · Coding round · reported 12× · 5 tests
A variant of "Optimal Account Balancing" - settle every account to zero using the fewest transfers. Stripe explicitly does not require the truly-optimal count, just a working greedy.
The full question, tests and reference solution are available with a plan that includes Stripe.
Run your code with Ctrl+Enter to see results.