Nuro Interview Question

a transformation dp problem based on minimum sum path