Pergunta de entrevista da empresa Trillium Trading

some quick-witted question and math question.