Pregunta de entrevista de Ellipse Solutions

They were testing basic programming skills/algorithmic knowledge/logics.