Im failing two out of 4 test cases.Could you guys pls tell me whats wrong in my code
Failing some test cases
this is my code
@vishal23rfx If you are moving in a path an it is probability so you have to multiply each edge weight to the previous one in order to get the optimal answer.
Can u pls provide the editorial?I unlocked test cases but I couldn’t able to unlock editorial
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.