Pregunta de entrevista de Meta

Coding question - string manipulation and file handling