IBM Interview Question

Dynamic programming