Path With Maximum Probability Leetcode Two