LinkedIn interview question

How do you search thrgough huge flatfile?

Interview Answers

Anonymous

10 Apr 2011

You can search using 1. Regex by giving a pattern or a string. 2. Read line by line and then take each line and parse all the tokens in the line and check each token is the required token or not.

2

Anonymous

19 Mar 2012

we can use Regular expression search on the file - by Unix command grep

Anonymous

14 Feb 2011

Is there a better way than chunking? can you use a database?