Pergunta de entrevista da empresa Qualtrics

Write a program that parses the words and counts their occurrences in a text file. Implement it two different ways, one that takes little programming and another that would take longer programming but would work considerably faster.

Resposta da entrevista

Sigiloso

5 de jul. de 2012

Implemented my own map using just an array list for the shorter programming time. On the second part used hash, which would allow faster look up time of a specific word to see if it's already in the data structure. Improvement time on bigger files is about 50:1

5