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__
7 months, 1 week agotelp
1 year, 3 months agoomermahgoub
1 year, 3 months agoAndrea_P
1 year, 6 months agowanrltw
5 months, 2 weeks agowanrltw
5 months, 2 weeks agotomato123
1 year, 8 months agomorenocasado
2 years agoyuchun
2 years, 10 months agoruben82
1 year, 11 months agoralf_cc
2 years, 10 months agosyu31svc
2 years, 10 months ago