Bloomberg Interview Question

They asked about dynamic programming.