Design Splitwise

Medium · Low-Level Design · about 45 minutes

Asked at Uber, Google, Amazon, Microsoft.

Design an expense-sharing app. Users add expenses paid by one person and split among several, either equally, by exact amounts, or by percentage. Show what each user owes or is owed, show the balance between any two users, and suggest a short list of payments that settles a group.

Related guides