Pergunta de entrevista da empresa Tech Mahindra

Write a python program that check if a sub-string exists in a large log file. You have access to the internet. Assume the log is very big 30-40 min

Resposta da entrevista

Sigiloso

21 de jul. de 2024

I wrote a program. It is not explicitly mentioned but afterwards they will ask you about edge cases: - How do you define the output? - Multiple instances of the sub-string? - File does not exists? - Can your algorithm handle 1+ GB of text files? You don't NEED to address all if it, but you should be able to communicate about it.