Top Hat Interview Question

leetcode - - valid anagram