Pregunta de entrevista de Gaviti

Basic anagram question with strings.