Skip to content

Commit dab4ca3

Browse files
authored
Create 0217_Problem_1.nim
1 parent a16a5ad commit dab4ca3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

0217_Problem_1.nim

+6
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)