Leetcode 1514. Path with Maximum Probability | Hello Interview