Google Interview Question

dynamic programming