Pregunta de entrevista de Meta

An easy coding question and a file handling question