Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2066. Account Balance
Given a list of peer-to-peer transactions, compute each account's net balance and find the minimum number of money transfers required to settle all debts by modeling nonzero nets and searching for optimal pairings (typically solved with DFS/backtracking or bitmask DP with pruning over at most ~20 people).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.