InterviewDB Question

Social Payment: Split Bills and Settle Debts Among a Group

Question Details

Problem A group of friends track shared expenses. Each transaction is (payer, [participants], amount). After all transactions, compute the minimum number of payments needed to settle all balances (everyone ends at net 0). Example Follow-ups Why is mi…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone