AlgoViz

Design an expense sharing app

medium 80 min

Divide bills between friends without losing a cent, keep one balance for each person that always adds up to zero, and settle with at most n - 1 payments.