QuestionQ291
Building and testing applicationsYou are processing a log file with three columns: a timestamp, an account number (a string), and a transaction amount (a number). You need to efficiently calculate the total transaction amount for every unique account number.
Which data structure should you use?
- A A linked list
- B A hash table
- C A two-dimensional array
- D A comma-delimited string
Community Discussion