Search
⌘K

Leetcode 1672. Richest Customer Wealth

Given an m x n matrix where each row represents a customer's bank balances, compute each customer's wealth as the sum of their row and return the maximum wealth; this is a straightforward O(m·n) scan.


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.