Pergunta de entrevista da empresa Alarm.com

Coding questions about dynamic programming.