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?
A. A linked list
B. A hash table
C. A two-dimensional array
D. A comma-delimited string
You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amo
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amo
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!