minimumpath dp