Pregunta de entrevista de Indeed

you can find in leetcode, Hashmap and dp problems.