Pregunta de entrevista de Exa Data

I forgot the details, but it's about basic coding concepts.