Pregunta de entrevista de Lucid Software

Three coding questions, two easy, one game implementation.