solve plus one and minimum path sum