Path With Maximum Probability Leetcode 150 Problem