athenahealth interview question

A dynamic programming coding challenge.