Solved

You Are Parsing a Log File That Contains Three Columns

Question 1

Multiple Choice

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

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents