Add solution to problem 84. The core of this solution is Markov Chain which I have almost forgot. The core idea is stolen from https://github.com/SethTisue/Project-Euler/blob/master/src/test/84.scala. But the solution listed above has performance issues. And Don't deal all the cases. The modified version get ac on hackerrank. I should take some time to look at markov Chain theory and refactoring the ugly code.
Add solution to problem 84. The core of this solution is Markov Chain which I
have almost forgot. The core idea is stolen from
https://github.com/SethTisue/Project-Euler/blob/master/src/test/84.scala. But
the solution listed above has performance issues. And Don't deal all the cases.
The modified version get ac on hackerrank. I should take some time to look at
markov Chain theory and refactoring the ugly code.

advancedxy/hackerrank,advancedxy/hackerrank,advancedxy/hackerrank