Pergunta de entrevista da empresa Meta

Went through two technical problems, one involving dynamic programming.