Capital One interview question

Leetcode easy to medium difficulty questions-string manipulation, dictionary/array iteration.