1672. Richest Customer Wealth

Updated: 2024-03-12
1 min read
[]

On This Page

LeetCode problem 1672

class Solution:
    def maximumWealth(self, accounts: List[List[int]]) -> int:
        return max(sum(v) for v in accounts)