problem of minimum paths 5870793