Pergunta de entrevista da empresa athenahealth

A dynamic programming coding challenge.