PinterestCoding·60 minMembers
Splitwise / Settle Group Balances
Members only
Group of friends takes a trip; each person has paid an arbitrary subset of the bills. Output any valid sequence of paybacks `(from, to, amount)` that zeros every person's net balance. The minimum-numb...
SWE
MLE
hashmap
greedy
object-design
medium
Frequency
Low
Last asked
2026-04-13
Stage
phone-screen · onsite-coding
Log in to continue reading the full content
