Pregunta de entrevista de Mastercard

check if two strings were anagram