Google Interview Question

A question on dynamic programming.