Pergunta de entrevista da empresa DRISHTICON

given sentences, return the three most frequently occurred words

Resposta da entrevista

Sigiloso

21 de jul. de 2017

string.split(); use hashtable to traversal and count the frequency for each word. traversal the hashtable and return the top 3 word