You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amount (a number). You want to calculate the sum of all transaction amounts for each unique account number efficiently.
Which data structure should you use?
__rajan__
9 months, 2 weeks agotelp
1 year, 5 months agoomermahgoub
1 year, 5 months agoAndrea_P
1 year, 8 months agowanrltw
7 months, 2 weeks agowanrltw
7 months, 2 weeks agotomato123
1 year, 10 months agomorenocasado
2 years, 2 months agoyuchun
3 years agoruben82
2 years, 1 month agoralf_cc
3 years agosyu31svc
3 years ago