Pergunta de entrevista da empresa Charles Schwab

It was about a DP problem