Pergunta de entrevista da empresa KidoCode

Solve a math question by thinking what formula you should use and why?