Question DSA-HASH-0032
EasyWhich structure is most efficient for counting how often each word appears in a large text?
- A.
A hash map from word to count
- B.
A sorted array searched linearly
- C.
A stack
- D.
A queue
Sign up free to see the answer and a step-by-step explanation.