Pregunta de entrevista de Softwire

The 3 coding problems described before