Pergunta de entrevista da empresa Mastercard

check if two strings were anagram