"Simplicity can't be bought later, it must be earned from the start" -- DB
public class Solution { public int MaximumWealth(int[][] accounts) { return accounts.Select(a => a.Sum()).Max(); } }
No comments:
Post a Comment