BNP Paribas interview question

probability questions/Markov matrix/algorithm