FogHorn Systems Interview Question

A dynamic programming problem in the phone interview.