Pregunta de entrevista de Nasdaq

Identify certain patterns from large file using linux