Pergunta de entrevista da empresa Nasdaq

Identify certain patterns from large file using linux