PayPal logoPayPal
CodingMembers

Expense Sharing Ledger with Minimal-Transaction Settlement

Members only

A machine-coding round on modeling shared expenses among friends and groups. The challenge is keeping pairwise balances consistent as expenses arrive and then producing a compact set of payments that clears everyone's debts.

SWE
medium
object-design
hashmap
heap
greedy
graph
oop-design
python
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 4 common pitfalls
  • 7 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...