Meta Interview Question

One dp prgoramming quesiton and another once included a hashmap