Calculate occurrences of specified word in a large text file
Posted
by Tony
on Stack Overflow
See other posts from Stack Overflow
or by Tony
Published on 2010-04-20T03:04:38Z
Indexed on
2010/04/20
3:13 UTC
Read the original article
Hit count: 372
This is an interview question, and should concern about efficiency. How to calculate occurrences of specified word in a large text file? I can only think of indexOf() method in most programming languages, but I don't think that the correct answer.
© Stack Overflow or respective owner