Pregunta de entrevista de IBM

they asked anagram question from leetcode.