Pregunta de entrevista de Shopee

A dynamic programming recursive problem

Respuesta de la entrevista

Anónimo

12 may 2021

I forgot the exact question, sorry. Got a working solution but was not optimized.