https://leetcode.com/problems/richest-customer-wealth/



Runtime: 109 ms, faster than 21.22% of TypeScript online submissions for Richest Customer Wealth.

Memory Usage: 44.6 MB, less than 42.15% of TypeScript online submissions for Richest Customer Wealth.


```typescript
function maximumWealth(accounts: number[][]): number {
    //8:00
    let max = 0
    for (const account of accounts) {
        const sum = account.reduce((partialSum, a) => partialSum + a, 0);
        if (sum > max) {
            max = sum
        }
    }
    return max
    //8:02
};
```
