Pregunta de entrevista de Cloudbird Digital

Math problem which is difficult