ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 20 - Professional Cloud Developer discussion

Report
Export

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
Answers
A.
A linked list
B.
A hash table
Answers
B.
A hash table
C.
A two-dimensional array
Answers
C.
A two-dimensional array
D.
A comma-delimited string
Answers
D.
A comma-delimited string
Suggested answer: B
asked 18/09/2024
I Haq
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first