Pergunta de entrevista da empresa Promise Technology

Detect 2 strings are anagrams of each other