Pergunta de entrevista da empresa Qube Research & Technologies

First round: Gamblers ruin problem. Second round: dynamic programming.