BlackRock interview question

LeetCode 242. Valid Anagram variation