Search
⌘K

Leetcode 1587. Bank Account Summary II

Compute each user's balance by summing their transaction amounts (transactions may be positive or negative, and all accounts start at 0), then report the name and balance for users whose total balance is greater than 10000. This is essentially a GROUP BY on Transactions joined with Users, filtered by SUM(amount) > 10000.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.