Pregunta de entrevista de Cadence Design Systems

The code test was a maths problem.