AlgoMaster Logo

1514. Path with Maximum Probability

n=3,edges=[[0,1],[1,2],[0,2]],succProb=[0.5, 0.5, 0.2],startNode=0,endNode=2
0 / 26
algomaster.io
Step:3 nodes and 3 edges. Find the most likely path from 0 to 2.