Pergunta de entrevista da empresa IMCD Group

Financial related puzzle leetcode question