Pergunta de entrevista da empresa Pocket Gems

dynamic programming question, System Design, OOD