Pregunta de entrevista de Lucid Software

Short coding challenges, one longer one.