Pregunta de entrevista de ALGORYC

Basic coding questions, not too advanced.