Pergunta de entrevista da empresa LinkedIn

How do you search thrgough huge flatfile?

Respostas da entrevista

Sigiloso

10 de abr. de 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

Sigiloso

19 de mar. de 2012

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

Sigiloso

14 de fev. de 2011

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