Settle group debts with the fewest transfers

0
Remix

A group of people owe each other money, given as transfers (from, to, amount). Return the smallest number of transfers that brings every person's balance to zero.

StripeTechnical phone screenLast asked Feb 2026
No answer yet. Write the first one; the best answer gets endorsed.