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