[LeetCode] 1672. Richest Customer Wealth
Python
class Solution:
def maximumWealth(self, accounts: List[List[int]]) -> int:
answer = -sys.maxsize
for account in accounts:
answer = max(answer, sum(account))
return answer
댓글남기기