Intuit interview question

it was a dynamic programming question