Design a bill-splitting app
Splitwise-style expense splitting: integer paise and three split strategies that always add up, expenses as facts and balances as consequences, greedy min cash flow from six debts to three payments, a lock or a transaction per write, and a UPI settle-up recorded only once it's paid.
01 · The end of the trip
LLD-06 · Design a Bill-Splitting App (Splitwise)
Four friends. Five expenses. Who pays whom?
Who pays whom?
Four friends come back from a Goa trip.
0:00 / 13:25