Sollicitatievraag bij DRISHTICON

given sentences, return the three most frequently occurred words

Antwoord op sollicitatievraag

Anoniem

21 jul 2017

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