title: How to find high frequency words in a book in an environment low on memory?
body: <p>Recently in a technical interview, I was asked to write a program to find the high frequency words(Words which appear maximum number of times) in a text book. The program should be designed in such a way that, it processes the entire text book with minimum memory. Performance is not a concern. I was able to program to find the frequency of words, but it consumed a lot of memory.</p>
  
  <p>How do you make this operation less memory intensive? Any strategies/solutions?</p>
  
  <p>-Snehal</p>