Bloomberg interview question

Valid Anagrams problem on Leetcode