Affirm logoAffirm
Coding·60 minMembers

Transaction Balance & Minimum Settlement

Members only

A two-part payments problem from an Affirm onsite coding round: work out where every user's money stands after a day of transactions, then settle the books between users as efficiently as possible. The first half is a warm-up; the second half is where the real difficulty lies.

SWE
greedy
heap
payment
medium
Frequency
Single report
Last asked
2026-04-14
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...