We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a16a5ad commit dab4ca3Copy full SHA for dab4ca3
0217_Problem_1.nim
@@ -0,0 +1,6 @@
1
+# code_report Solution
2
+# Problem Link (Contest): https://leetcode.com/contest/weekly-contest-217/problems/richest-customer-wealth/
3
+# Problem Link (Practice): https://leetcode.com/problems/richest-customer-wealth/
4
+
5
+func maximumWealth(accounts: seq[seq[int]]): int =
6
+ accounts.mapIt(foldl(it, a + b)).foldl(max(a, b))
0 commit comments