Pergunta de entrevista da empresa Bank of America

dynamic programming, brain teaser, etc.