Question d’entretien chez Bloomberg

Write a function that can prove if two strings are anagrams