Bloomberg Interview Question

LC 242 - Valid Anagram