Pergunta de entrevista da empresa Bank of America

standard leetcode style problem, current financial experience