Second test case failing


Have a look at where its going wrong. Thanks.

hello @Shubh_rmcf07,
image

here add one extra consdtion i.e dist[i]==INT_MAX || dist[i]==0

1 Like