Interview practice question
Low-level design of an expense-sharing app
Backend Engineering · OOP and Design Patterns · Experienced
Design the classes for an app like Splitwise, where groups share expenses split in different ways.
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- User, Group, Expense, Split.
- Split strategies: equal, exact, percentage.
- Balance ledger per pair.
- Validation of splits.
- Debt simplification algorithm.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.