Back to course home
0% completed
Problem 1: Richest Customer Wealth (easy)
Problem Statement
You are given an m x n
matrix accounts
where accounts[i][j]
is the amount of money the ith
customer has in the jth
bank.
Return the wealth that the richest customer has.
Imagine every customer has multiple bank accounts, with each account holding a certain amount of money. The total wealth of a customer is calculated by summing all the money across all their multiple.
Examples
- Example 1:
- Input: accounts =
[[5,2,3], [0,6,7]]
- Expected Output:
13
- Input: accounts =
.....
.....
.....
Like the course? Get enrolled and start learning!
Table of Contents
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible
Contents are not accessible