If you have a usernames.txt file and containing of usernames .You have to return which username is belong to shakespeare of book.Like shakespeare book contains million of words.
Input_1: Usernames.txt ,
input_2: A shakespeare of book (String or Pdf file)
My Approach:
At first I write up the brute approach and Interviewer was happy with that ,then he asked me to optimize it, I explained with Trie but can't code it up due to limit of time.
1)How do you optimize it ??Any idea ??
Verdict: I got rejected email
Comments (5)


