Indeed interview question

you can find in leetcode, Hashmap and dp problems.