Pregunta de entrevista de Thoughtworks

algos for different mathematical problems.