Pregunta de entrevista de Azeus Systems Philippines Limited

A pattern related coding exercise